I think I have corrected the way that it reads from the text file, it no
longer uses, .read() but now uses, .readlines()