docs: def make_path(base_uri, path, filename, path_dimensions, split_length):
      """Generate a path as base location for file instance.
  
      :param base_uri: The base URI.
      :param path: The relative path.
      :param path_dimensions: Number of chunks the path should be split into.
      :param split_length: The length of any chunk.
      :returns: A string representing the full path.
      """
      assert len(path) > path_dimensions * split_length
  
      uri_parts = []
      for i in range(path_dimensions):
          uri_parts.append(path[0:split_length])
          path = path[split_length:]
      uri_parts.append(path)
      uri_parts.append(filename)
  
      return os.path.join(base_uri, *uri_parts)