Now takes bed,gen,bgl and vcf input files.