I have a program which parses a log file for errors. This is the code used to access it:
using StreamReader reader = new StreamReader(GetLogFile);