YAML file load needs to be successful in order to work