df' });
          const fileName = (file.name ? file.name.replace('.pdf', '') : 'pdf') + '_removed_annotations.pdf';

          return { processedData: pdfBlob, fileName };
        };

        await downloadFilesWithCallback(processFile);
      });
    </script>
  </body>
</html>