Method which will grep the file for the string or regexp which is specified. Some examples of how others have done this: https://stackoverflow.com/questions/633396/whats-the-best-way-to-search-for-a-string-in-a-file