vcf basename parsing checks first if the file is gzipped