Improved Dispose method in FileRunner.cs to pass Code Analysis.