private bool ContainsYamlFrontMatter(string file) { var postFirstLine = SafeReadLine(file); return postFirstLine != null && postFirstLine.StartsWith("---"); }