added loadWordsFromFiles method and fill method