public TransitionFileLogger(DependencyEngine dependencyEngine, string filePath) { this.filePath = filePath; if (File.Exists(filePath)) { File.Delete(filePath); } listener = new DependencyEngineListener(dependencyEngine, OnTransition, false); }