some cleanup of file.py error messages & other minor updates.

Addresses #469.

FYI, pass isn't needed here