Improved file renaming and deletion commands.