write contig to file + display read count as processed