code: public static VariantFileMetadata readVariantFileMetadata(Path path, VariantFileMetadata fileMetadata) throws IOException {
          Objects.requireNonNull(path);
          try (InputStream is = FileUtils.newInputStream(path)) {
              return readVariantFileMetadata(new VariantVcfHtsjdkReader(is, fileMetadata.toVariantStudyMetadata("")), fileMetadata);
          }
      }
docs: Reads the VariantSource from a Vcf file given a file Path
  
  @param path    Path to the Vcf file
  @param fileMetadata  Optional fileMetadata to fill up
  @return        The read variant fileMetadata
  @throws IOException if an I/O error occurs