vcf class, file reader function