Storing text files and reading them

error