Mutable state like this creates code that's difficult to read and understand.  I suggest either calling logParser.IsCapable(logFile) or instantiate a new log parser for this log file: ILogParser logParser = new HttpLogParser(logFile);