Yes - use StreamReader. Open the file, read the text from it and do the
search on the string. If you don't mind the search being line by line
(i.e. you're not searching for something which could contain line
breaks) you could read the file line by line so you never need to have
the whole file in memory. Use String.IndexOf to test whether or not the
string you're interested in is in another string.