fixed adding words to hashtable and adding file nodes