code: def _default_file_type_info(path):
      if not os.path.exists(path):
          return "File", "file", "File", None
      if util.is_text_file(path):
          return "Text file", "file-document", "Text file", "text"
      return "File", "file", "File", None
  
imports: import json
  import logging
  import os
  import re
  import socket
  import sys
  import guild
  import guild.run
  from guild import batch_util
  from guild import cli
  from guild import click_util
  from guild import config
  from guild import index
  from guild import run_util
  from guild import util
  from guild import var
  from guild import view
  from .None import compare_impl
  from .None import runs_impl
label_desc: Use image node_id 16 for calling a global function with example usage: _default_file_type_info(path) and returns: str,  str,  str,  None, str,  str,  str,  None, str,  str,  str,  str