Deletes useless files.