working on loadWordsFromFile