added write to file for vcf parser