code: def load_typeql_file(
      typedb_binary_location: str,
      database_name: str,
      typeql_file_path: str,
      file_type: FileType,
  ):
      """
      Load a file into a TypeDB database
  
      Args:
          typedb_binary_location: the location of TypeDB
          database_name: The name of the TypeDB database to load into
          typeql_file_path: The path to the file to load
          file_type: The content of the file and therefore the transaction type to use, either schema or data
      Returns:
          None
      """
      sp.check_call(
          [
              "./typedb",
              "console",
              f"--command=transaction {database_name} {file_type.value} write",
              f"--command=source {typeql_file_path}",
              f"--command=commit",
          ],
          cwd=typedb_binary_location,
      )
  
imports: import subprocess
  from enum import Enum
label_desc: Use image node_id 1 for calling a global function with example usage: load_typeql_file(typedb_binary_location, database_name, typeql_file_path, file_type) without return types