public bool Supports(string source) { if (File.Exists(source)) { using (var reader = File.OpenText(source)) { string firstLine = reader.ReadLine(); return firstLine != null && firstLine.StartsWith("---"); } } return false; }