implement file renaming and deleting