Adding success criteria to the parsing of the YAML files