added regular expression to find a word in a file example