YamlParser parser = new YamlParser(); TextInput input = new TextInput(File.ReadAllText(yamlFilePath)); bool success; YamlStream yamlStream = parser.ParseYamlStream(input, out success); if (success) { foreach (YamlDocument do