Added routines to report file-read error

* Added routines to report file-read error:
  * file_read_error(): report read error, but don't quit
  * end_file_read_error(): report reaching end of file while reading, don't quit
  * end_file_read_quit(): report reaching end of file while reading, and quit