renamed getHttp() to getYamlFile(path)