Purge useless files.