public static string GetFileText(this string absolutePath) { using (StreamReader sr = new StreamReader(absolutePath)) return sr.ReadToEnd(); }