Removes useless files.