Handle file extensions like vcf.gz