Searches for a word in a file

This program takes as input from the user a file name and a word. Then the program searches for the word in the file.