Load Yaml file method changed