Takes file name and word as input and give the number of occurences