code: def _create_argument_values_that_must_be_files_or_dirs(params):
      """
      Loop over test_params and create temporary files for training/validation sources/targets.
      """
  
      def grouper(iterable, n, fillvalue=None):
          "Collect data into fixed-length chunks or blocks"
          args = [iter(iterable)] * n
          return zip_longest(fillvalue=fillvalue, *args)
  
      params = params.split()
      regular_files_params = {
          "-vs",
          "-vt",
          "-t",
          "-s",
          "--source",
          "--target",
          "--validation-source",
          "--validation-target",
          "--input",
          "-i",
      }
      folder_params = {
          "--prepared-data",
          "-d",
          "--image-root",
          "-ir",
          "--validation-source-root",
          "-vsr",
          "--source-root",
          "-sr",
      }
      to_unlink = set()
      for arg, val in grouper(params, 2):
          if arg in regular_files_params and not os.path.isfile(val):
              open(val, "w").close()
              to_unlink.add(val)
          if arg in folder_params:
              os.mkdir(val)
              to_unlink.add(val)
      return to_unlink
  
imports: import argparse
  import pytest
  import tempfile
  import os
  import re
  import sockeye.arguments
  import sockeye.constants
  from itertools import zip_longest
label_desc: Use image node_id 13 for calling a global function with example usage: _create_argument_values_that_must_be_files_or_dirs(params) and returns: to_unlink, zip_longest