def _copy_files_to_new_dir(files: Iterable[Text]) -> Text:
    directory = tempfile.mkdtemp()
    for f in files:
        unique_prefix = uuid.uuid4().hex
        unique_file_name = ((unique_prefix + '_') + os.path.basename(f))
        shutil.copy2(f, os.path.join(directory, unique_file_name))
    return directory
def _copy_files_to_new_dir(files: Iterable[Text]) -> Text:
    directory = tempfile.mkdtemp()
    for f in files:
        unique_prefix = uuid.uuid4().hex
        unique_file_name = ((unique_prefix + '_') + os.path.basename(f))
        shutil.copy2(f, os.path.join(directory, unique_file_name))
    return directory