added loadwordsfromfile however, there may be an error with the 'add' function when trying to do it multiple times