Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
  1. Home
  2. Blog
  3. Our Product Times Out on Big Court Bundles and Scanned Files. How Do We Handle Them?
Problems We Solve

Our Product Times Out on Big Court Bundles and Scanned Files. How Do We Handle Them?

Legal tech products fail on large scanned bundles and disclosure sets that time out mid-upload. We build queued processing, OCR, chunking and progress tracking.

Updated 3 min readBy SpiderHunts Technologies

Free estimateNo obligation

Get a free estimate

Tell us what you need. A senior engineer reads every enquiry.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →

Quick answer — TL;DR

Large bundles break your product because it processes each upload in a single web request, while real legal files run to thousands of pages, arrive as poor scans and contain mixed formats. We build a processing pipeline with resumable uploads, background queues, OCR with quality checks, page-level chunking, progress the fee earner can see, and partial results that do not wait for the last page.

A disclosure set, an upload bar and an error

A litigation associate needs to review a large disclosure set before a deadline. It arrives as a zip of PDFs, many of them scans of printed emails and handwritten notes, plus some spreadsheets and email files. They upload it to your product. The progress bar sits at the same point for twenty minutes, then shows an error. They try splitting it into smaller batches. Some work. Some fail with no explanation.

By the evening, the associate gives up and reviews the documents the old way. Your support team sees a string of timeout errors in the logs, all from the same user.

Legal tech products are often built and tested on clean, text-based PDFs of reasonable length. Real legal work is different.

  • Court bundles and disclosure sets run to thousands of pages across hundreds of files.
  • Many pages are scans with no text layer, some skewed, faint or handwritten.
  • Files arrive in mixed formats: PDF, Word, email files with attachments, spreadsheets and images.
  • Uploads and processing happen in one web request, which times out on large inputs.
  • One bad file can fail the whole batch, with no indication which.

What failing on big files costs

Large matters are where legal tech could save the most time, and where firms most want it. A product that cannot handle them is limited to small tasks, and fee earners learn not to trust it when it matters. Litigation teams in particular judge a product on its first big bundle. Failed uploads also create support load, and repeated attempts cost you processing and AI usage for work that never completes.

There is a quieter risk. If poor OCR produces garbled text and your product analyses it anyway, the output looks confident but is based on nonsense, which is worse than an error message.

What we build separates upload from processing and treats every file and page as a unit that can succeed or fail on its own.

  1. Resumable uploads directly to storage, so large uploads survive a dropped connection and do not depend on a web request finishing.
  2. Unpacking of zips and email files into individual documents and attachments, keeping the family relationships between an email and its attachments.
  3. A background queue that processes documents in parallel, with retries for temporary failures and a clear failed state for files that cannot be read.
  4. OCR for scanned pages, with a quality score per page, so poor scans are flagged rather than analysed as if the text were reliable.
  5. Page-level chunking with references back to document and page number, so analysis can cite exactly where something came from.
  6. Progress the fee earner can see, with partial results available as documents finish, and a report of any files that failed and why.
InputWhat happens
Very large bundleResumable upload, processed in the background
Zip of mixed filesUnpacked, each file processed on its own
Email with attachmentsUnpacked with family links kept
Poor quality scanOCR with quality flag, low scores marked for review
Corrupt or password-protected fileMarked failed with reason, rest continue

Processing large volumes has real running costs, especially where AI analysis is involved. We design the pipeline so costs are visible per matter, which helps with your pricing.

The disclosure set, second attempt

The associate uploads the zip. It finishes in the background while they work on other things. The product unpacks it, starts OCR on the scans, and shows progress by document. Early results appear while the rest are still processing. A handful of pages are flagged as poor quality and listed for a human look. Two files are password protected and reported as such. The associate reviews the analysis the same day, knowing exactly which pages the product could not read.

Does your product struggle with big files?

  • Large uploads time out or fail without explanation.
  • One bad file stops a whole batch.
  • Scanned pages are analysed without checking OCR quality.
  • Fee earners cannot see progress on large jobs.
  • Email files and their attachments are not handled as families.

FAQ

Frequently asked questions

The questions readers ask us after this guide.

Still have a question?

Ask us directly — a senior engineer will get back to you.

Ask about your project

Which OCR do you use?

We choose based on your hosting and firms' requirements, such as cloud services from AWS or Azure, or an OCR engine run in your own environment where firms need that.

Can processing stay in the UK?

Yes, where the services used support UK regions. We design around the regions your firms require.

Will this increase our costs?

Processing large bundles costs something whatever you do. The pipeline avoids wasted retries and shows cost per matter.

What do you need from us?

Access to your upload and processing code, your hosting, and examples of files that failed, with any client content removed or replaced.

Keep reading

More on Problems We Solve

Start here

Tell us what is slowing your legal tech product inside law firms

Describe what your product does for law firms, which systems it has to work with and where deals or rollouts get stuck: security reviews, integrations, adoption or support. We will tell you what we would build and what we would not, and if the answer is a document or a process rather than software, we will say so.

  1. You tell us what you needTwo minutes on the form, or a message on WhatsApp.
  2. A senior engineer reviews itAnd comes back with questions, a realistic range and an honest view on fit.
  3. Free 30-minute scoping callWe talk through scope, options and a realistic estimate — with no obligation.
Free estimateNo obligation

Talk to someone who builds this

Send a short brief and we will come back with an honest view and a realistic range.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →