vcf parser function