static void CheckFile() { if (string.IsNullOrEmpty(FullPathMonitoringFile)) return; if (!File.Exists(FullPathMonitoringFile)) { File.Create(FullPathMonitoringFile).Close(); } }