class_docstr: This FileDriver ensures that the .datmo directory and file based components are present
code: def create_collection(self, paths):
      if not self.is_initialized:
          raise FileStructureError(
              __(
                  "error",
                  "controller.file.driver.local.create_collection.structure",
              )
          )
  
      self.ensure_collections_dir()
      temp_collection_path = get_datmo_temp_path(self.root)
  
      _, _, files_rel, dirs_rel = parse_paths(
          self.root, paths, temp_collection_path
      )
  
      filehash = self.calculate_hash_paths(paths, temp_collection_path)
  
      # Move contents to folder with filehash as name and remove temp_collection_path
      collection_path = os.path.join(
          self.datmo_directory, "collections", filehash
      )
      if os.path.isdir(collection_path):
          return filehash, files_rel, dirs_rel
          # raise FileStructureError("exception.file.create_collection", {
          #     "exception": "File collection with id already exists."
          # })
      os.makedirs(collection_path)
      self.copytree(temp_collection_path, collection_path)
  
      # Change permissions to read only for collection_path. File collection is immutable
      mode = (
          stat.S_IRWXU
          | stat.S_IRGRP
          | stat.S_IXGRP
          | stat.S_IROTH
          | stat.S_IXOTH
      )
  
      for root, dirs, files in os.walk(collection_path, topdown=False):
          for dir in [os.path.join(root, d) for d in dirs]:
              os.chmod(dir, mode)
          for file in [os.path.join(root, f) for f in files]:
              os.chmod(file, mode)
  
      # Removing temp collection path
      shutil.rmtree(temp_collection_path)
      return filehash, files_rel, dirs_rel
  
imports: import os
  import stat
  import shutil
  import glob
  import hashlib
  import checksumdir
  from io import open
  from datmo.core.util.i18n import get
  from datmo.core.util.exceptions import PathDoesNotExist, FileIOError, FileStructureError, FileAlreadyExistsError, DirAlreadyExistsError
  from datmo.core.controller.file.driver import FileDriver
  from datmo.core.util.misc_functions import get_datmo_temp_path, parse_paths
label_desc: Use image node_id 12 for calling the LocalFileDriver obj's underlying member method code with example usage: obj.create_collection(paths) and returns: filehash,  files_rel,  dirs_rel, filehash,  files_rel,  dirs_rel