Update file.py

"target" is an unfortunate choice of word here.
Merge pull request #10315 from drj11/patch-1

Update file.py