public static bool SafeDeleteFile(string file) { try { return DeleteFile(file); } catch (Exception) { LogFile.AddVerboseLine("ERROR: Unable to remove file: <" + file + ">"); return false; } }