remove the leftovers from the previous file