code: def ac_filename(ext, incomplete):
      if active_shell_supports_directives():
          return _compgen_filenames("file", ext)
      return _list_dir(
          os.getcwd(),
          filters=[_omit_pycache],
          ext=ext,
          incomplete=incomplete,
      )
  
imports: import os
label_desc: Use image node_id 2 for calling a global function with example usage: ac_filename(ext, incomplete) and returns: _list_dir, _compgen_filenames