rename and delete files