Fixed reading of file

Fixed script so it properly reads the file and added a test txt file
called level1.txt