Setup loadYamlFile to allow for a single YAML document containing all content.