loadwordsfromfile method