add support for file renaming