code: def replace(source_files):
      """Utility function to replace empty files list"""
      replace_files = list(source_files)
      for o in replace_files:
          o.name = o.name[:-1] + "0"
          o.index = (o.index[0], 0)
          o.out_index = None
          o.in_index = None
  
      # Set a vacuous data list
      replace_data = [(o.name, None) for o in replace_files]
      return replace_files, replace_data
  
file_path: mlens/mlens/parallel/_base_functions.py
imports: from __future__ import division
  import os
  import warnings
  from scipy.sparse import issparse
  import numpy
  from ..utils import pickle_load, pickle_save, load
  from ..utils.exceptions import MetricWarning, ParameterChangeWarning
label_desc: Use image node_id 4 for calling a global function with example usage: replace(source_files) and returns: replace_files,  replace_data