private void WritePdfToArchive(PdfGenerator pdfGenerator, string fileName)
 {
     using (Stream pdfStream = pdfGenerator.GetStream()) {
         _zipCompressor.AddFileToArchive(fileName, pdfStream);
     }
 }