Added lucene removal of domains
write top domains to file