def METHOD_NAME(src_dir, dest_dir, dest_file_postfix):
    if os.path.isfile(src_dir[0]):
        for src_file in src_dir:
            name_ext = os.path.basename(src_file)
            name, ext = os.path.splitext(name_ext)
            yield src_file, dest_dir + "/" + name + dest_file_postfix + ext
    else:
        for src_file in glob.glob(os.path.join(src_dir, "*.tif")):
            name_ext = os.path.basename(src_file)
            name, ext = os.path.splitext(name_ext)
            dest_file = os.path.join(dest_dir, name + dest_file_postfix + ext)
            yield src_file, dest_file