code: def load(cls, filename, name=None):
          
          if not os.path.exists(filename):
              return {}
          name = name or filename
  
          if name not in cls._conffiles:
              with open(filename) as fdesc:
                  content = yaml.load(fdesc, YAMLLoader)
                  # in case the file is empty
                  if content is None:
                      content = {}
                  cls._conffiles[name] = content
  
          return cls._conffiles[name]
docs: Load yaml configuration from filename.