debugged second commit with textFileReader method