private static void TryMoveFile(string oldPath, string newPath) { if (File.Exists(oldPath) && !File.Exists(newPath)) File.Move(oldPath, newPath); }