there was an error when opening up a text file