rename and remove files