code: def populate(root, files):
      for fname in files:
          with open(os.path.join(root, fname), "w") as f:
              f.write(ref_contents(fname))
  
imports: import glob
  import numpy
  import nvidia.dali.fn
  import os
  import random
  import tempfile
  from nvidia.dali import Pipeline, pipeline_def
  from nose_utils import assert_raises
  from test_utils import compare_pipelines
label_desc: Use image node_id 2 for calling a global function with example usage: populate(root, files) without return types