/// <summary>All jobs for a file have completed</summary> private static void OnSimulationGroupCompleted(object sender, EventArgs e) { if (csv) { string fileName = Path.ChangeExtension((sender as SimulationGroup).FileName, ".db"); var storage = new Storage.DataStore(fileName); Report.WriteAllTables(storage, fileName); Console.WriteLine("Successfully created csv file " + Path.ChangeExtension(fileName, ".csv")); } }