Handle some error on the file reader