code: def rebuild_config_cache(self, config_filepath):
          
          self.validate_config_file(config_filepath)
          config_data = None
          try:
              with open(config_filepath, 'r') as f:
                  config_data = yaml.load(f)
              items = list(iteritems(config_data))
  
          except AttributeError:
              items = list(config_data)
  
          self.config_file_contents = OrderedDict(sorted(items, key=lambda x: x[0], reverse=True))
          self.config_filepath = config_filepath
docs: Loads from file and caches all data from the config file in the form of an OrderedDict to self.data
  
          :param config_filepath: str, the full filepath to the config file
          :return: bool, success status