Reading words from file, needs to be tested