@classmethod
def _write_tld_seed_file(cls):
    """Write existing TLD list to a text file."""
    if cls._tld_index:
        seed_file = 'tld_seed.txt'
        with open(seed_file, 'w') as file_handle:
            file_handle.write('\n'.join(sorted(cls.tld_index)))
