code: def remove_temp_dir_with_filepath(filepath, strategy):
      """Removes the temp path for file after writing is finished.
  
      Args:
          filepath: Original filepath that would be used without distribution, or
              the temporary filepath used with distribution.
          strategy: The tf.distribute strategy object currently used.
      """
      if tf is None:
          return
  
      remove_temp_dirpath(os.path.dirname(filepath), strategy)
  
file_path: keras-tuner/keras_tuner/backend/io.py
imports: import glob
  import os
  import shutil
  from keras_tuner.backend import config
label_desc: Use image node_id 12 for calling a global function with example usage: remove_temp_dir_with_filepath(filepath, strategy) without return types