Added subroutines file_open_error_quit(), file_read_error_quit()

* Added subroutines file_open_error_quit(), file_read_error_quit():
  * file_open_error_quit(): print error and quit program on file open error
  * file_read_error_quit(): print error and quit program on file read error