Remove the redundant files.