Changed the parsing of Yaml to pas the file content for forward compat

Passing a filename as input to Yaml::parse is deprecated.