The file is YAML, so should test it as YAML.