docs: def load_dict_from_yaml(path):
      """
      Loads a dictionary from a yaml file
      :param path: the absolute path of the target yaml file
      :return:
      """
      f = file(path, 'r')
      dictionary = yaml.load(f)
      f.close()
      return dictionary