code: def get_config_file(name: str) -> Path:
      """
      Get an NNI config file.
      Copy from `nni/runtime/default_config` if not exist.
      """
      config_file = get_config_directory() / name
      if not config_file.exists():
          default = get_builtin_config_file(name)
          shutil.copyfile(default, config_file)
      return config_file
  
file_path: nni/nni/runtime/config.py
imports: import os
  from pathlib import Path
  import shutil
  import sys
  import nni
label_desc: Use image node_id 2 for calling a global function with example usage: get_config_file(name) and returns: config_file