class_docstr: This FileDriver ensures that the .datmo directory and file based components are present
docstr: Create files or directories
  
  Parameters
  ----------
  relative_path : str
      relative filepath from base filepath
  directory : bool
      True for directory, False for file
  
  Returns
  -------
  filepath : str
      absolute filepath of created file or directory
docstr_tok: ["Create","files","or","directories","Parameters","--","--","--","--","--","relative_path",":","str","relative","filepath","from","base","filepath","directory",":","bool","True","for","directory",",","False","for","file","Returns","--","--","--","-","filepath",":","str","absolute","filepath","of","created","file","or","directory"]
code: def create(self, relative_path, directory=False):
      """
      Create files or directories
  
      Parameters
      ----------
      relative_path : str
          relative filepath from base filepath
      directory : bool
          True for directory, False for file
  
      Returns
      -------
      filepath : str
          absolute filepath of created file or directory
      """
      filepath = os.path.join(self.root, relative_path)
      if os.path.exists(filepath):
          os.utime(filepath, None)
      else:
          if directory:
              os.makedirs(filepath)
          else:
              with open(filepath, "ab"):
                  os.utime(filepath, None)
      return filepath
  
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 7 for calling the LocalFileDriver obj's underlying member method code with example usage: obj.create(relative_path, directory) and returns: filepath