code: def get_file_meta(filepath):
      
      meta = {}
      meta['filepath'] = os.path.abspath(filepath)
      meta['creation_datetime'] = get_creation_datetime(filepath)
      meta['last_access_datetime'] = get_access_datetime(filepath)
      meta['modification_datetime'] = get_modification_datetime(filepath)
      try:
          import magic
          f_mime = magic.Magic(mime=True, uncompress=True)
          f_other = magic.Magic(mime=False, uncompress=True)
          meta['mime'] = f_mime.from_file(meta['filepath'])
          meta['magic-type'] = f_other.from_file(meta['filepath'])
      except ImportError:
          pass
      return meta
docs: Get meta-information about a file.
  
      Parameters
      ----------
      filepath : str
  
      Returns
      -------
      meta : dict