private static IEnumerable <string> GetComputerNamesFromFile(string fileName) { fileName = MagicValues.StripSurroundingDblQuotes(fileName); Helpers.Assert(IsFile(fileName), "File does not exist"); return(MagicValues.DeleniateComputerList(File.ReadAllText(fileName))); }
private static bool IsFile(string path) { return(File.Exists(MagicValues.StripSurroundingDblQuotes(path))); }