delete the redundant files