delete the useless files.