The ability to pass file names was deprecated

From Yaml::parse: "The ability to pass file names to Yaml::parse() was deprecated in 2.7 and will be removed in 3.0"