public static string LoadSample(string fname) { using (StreamReader sr = File.OpenText(BooTestCaseUtil.GetTestCasePath(fname))) { return sr.ReadToEnd(); } }