function downloadBlob(blob, filename) {
  const url = URL.createObjectURL(blob);

  // Auto-download the ZIP through anchor
  const anchor = document.createElement('a');
  anchor.href = url;
  anchor.download = filename;
  anchor.click();
  URL.revokeObjectURL(url);
}
@param {Blob} blob
@param {string} filename