Rename and remove files