Move core file and delete backup