Find a word in a file or string.