Update file.c
Merge pull request #1521 from xboston/patch-2

Update file.c