make documented file() kw names and actual ones agree (closes #15572)

Patch by Daniel Ellis.
1 file changed