modified Yaml parser to read obj filename