public static string ReadAllText(string path, string defaultValue = null) { return File.Exists(path) ? File.ReadAllText(path) : defaultValue; }