implement mapping with file renaming