Implemented file renaming.