Rename and delete some file