Fixed issue with reading wordList.txt