code: def record_names(file_defs):
      recording = _path.Recording()
      _path.build(file_defs, recording)
      return recording.record
  
imports: import os
  import sys
  import copy
  import json
  import shutil
  import pathlib
  import tempfile
  import textwrap
  import functools
  import contextlib
  from test.support.os_helper import FS_NONASCII
  from test.support import requires_zlib
  from .None import _path
  from ._path import FilesSpec
label_desc: Use image node_id 6 for calling a global function with example usage: record_names(file_defs) and returns: recording