code: def keep_files_with_same_file_name(files1, files2):
      valid_files = set(map(filename, files1)).intersection(
          map(filename, files2)
      )
      return [f for f in files1 if filename(f) in valid_files], [
          f for f in files2 if filename(f) in valid_files
      ]
  
imports: import os
label_desc: Use image node_id 1 for calling a global function with example usage: keep_files_with_same_file_name(files1, files2) and returns: unknown,  unknown