code: def load(self, file_locations=[], **kwargs):
          
          self.set_load_state(**kwargs)
          if file_locations:
              self.__file_locations__ += file_locations
          else:
              file_locations = self.__file_locations__
          conn = self.__get_conn__(**kwargs)
          if file_locations:
              log.info("Uploading files to conn '%s'", conn)
          for item in file_locations:
              log.info("loading '%s", item)
              if item[0] == 'directory':
                  self.load_directory(item[1], **kwargs)
              elif item[0] == 'filepath':
                  kwargs['is_file'] = True
                  self.load_file(item[1],**kwargs)
              elif item[0].startswith('package'):
                  log.info("package: %s\nspec: %s",
                           item[1],
                           importlib.util.find_spec(item[1]))
                  try:
                      pkg_path = \
                              importlib.util.find_spec(\
                                      item[1]).submodule_search_locations[0]
                  except TypeError:
                      pkg_path = importlib.util.find_spec(item[1]).origin
                      pkg_path = os.path.split(pkg_path)[0]
                  if item[0].endswith('_all'):
                      self.load_directory(pkg_path, **kwargs)
                  elif item[0].endswith('_file'):
                      filepath = os.path.join(pkg_path, item[2])
                      self.load_file(filepath, **kwargs)
                  else:
                      raise NotImplementedError
          self.loaded_files(reset=True)
          self.loaded_times = self.load_times(**kwargs)
docs: Loads the file_locations into the triplestores
  
          args:
              file_locations: list of tuples to load
                      [('vocabularies', [list of vocabs to load])
                       ('directory', '/directory/path')
                       ('filepath', '/path/to/a/file')
                       ('package_all', 'name.of.a.package.with.defs')
                       ('package_file','name.of.package', 'filename')]
              custom: list of custom definitions to load