void OnChange(string file) { file = Path.GetFileName(file); if (Files.Contains(file)) { if (FileChanged != null) { FileChanged(this, new FileChangedEventArgs() { FilePath = file }); } } }