public static string LoadTextFromResource(string path) { var data = LoadTextFromResources(path); PSAssert.Validate(!string.IsNullOrEmpty(data), "could not load file or file empty " + path); return data; }