nice error when file reading failed