I think I might have broke my code more than I fixed it but I created a
read and write method in TextFileRead with a generic text file so you
should be able to use that.

One bug is that I am still having issues with the text file being
overwritten every time instead of appended to.