code: def load_yaml(filename):
      
      with open(filename) as myfile:
          content = myfile.read()
          if "win" in sys.platform:
              content = content.replace("\\", "/")
          return yaml.safe_load(content)
docs: Return object in yaml file.