added the ability to list the frequencies of words for any file