Large Files · Claims Reporting
BigCSV Viewer: Open and Summarise Huge Claims Files
A desktop app that opens CSV files too large for Excel and turns them into month-wise and payer-wise summaries in seconds.
Impact
~1s
To open a 700,000-row CSV file
Measured on a synthetic 700,000-row claims file on a 2-CPU / 8 GB virtual machine
~12s
To open a 12-million-row, 1 GB CSV file
Measured on a synthetic 12M-row claims file on a 2-CPU / 8 GB virtual machine. Excel cannot open a file this size (1,048,576-row limit)
<0.5s
To build a month-wise summary
Measured on the same synthetic 12M-row file on a 2-CPU / 8 GB virtual machine
Problem
Claims data usually comes out of billing systems as one big CSV file. Excel can only hold about one million rows per sheet. Many claims files are bigger than that, so they simply don't open.
Even smaller files cause trouble. A file with 700,000 rows opens slowly in Excel, and scrolling, sorting and filtering are slow too. Simple questions like "How much did we bill each month?" or "Which payer has the most claims?" turn into hours of splitting files and copying numbers by hand.
Excel also changes data without asking. It drops the leading zeros from IDs and ZIP codes, and it can read dates the wrong way. These small errors are easy to miss and end up in the final report.
Approach
I built a desktop app that opens a large CSV file without loading all of it into memory.
Fast opening. The app uses DuckDB, a database engine made for analysis. It reads the file in parallel and uses the disk when the file is bigger than the computer's memory.
Smooth scrolling. The table only fetches the rows on screen, 500 at a time. Scrolling stays smooth whether the file has 1,000 rows or 12 million.
Careful column types. A column is turned into dates, amounts or numbers only when every value in it fits. IDs and ZIP codes with leading zeros stay as text, so nothing is changed by mistake.
Search, filter and sort. You can search all columns, sort by clicking a header, or right-click a cell to filter by that value. For harder questions there is an advanced filter:
"Billed Amount" > 500 AND "Payer" = 'Payer A'
Summaries in one click. You can group by any column. Dates can be grouped by day, week, month, quarter or year. You can add a second column, such as payer, to get a month-by-payer table, and then export the result to Excel.
A Claims tab for billing work. The app finds the usual claims columns by itself: date of service, payer, billed, paid, and denial reason. It has ready-made reports like "Billed vs Paid by Month" and "Payer mix". It also runs data checks for missing dates, blank payers, duplicate claims, and badly formatted CPT, ICD-10 or NPI codes.
The original file is never changed. Cleaning steps, like removing columns or trimming spaces, are applied to a working copy. Each step is listed and can be undone.
What I found
On a synthetic 12-million-row file (1 GB), the app opened the file in about 12 seconds. Sorting took 0.5 to 1 second, and a month-wise summary took under half a second. A 700,000-row file opened in about a second. All of these were measured on a small 2-CPU, 8 GB virtual machine.
The bigger change was in how the work feels. A question like "billed amount by month and payer" is now a few clicks instead of a manual job. Because the data checks run before the summary, problems like missing dates or duplicate claims show up early instead of inside a finished report.
Large Excel exports also work. When a result is bigger than Excel's row limit, the app splits it across several sheets automatically.
What I'd do differently
The advanced filter needs SQL. Users who don't know SQL can't use it. I would add a simple point-and-click filter builder on top of it.
All timings come from one small machine. I would test on more file shapes and more computers before treating the numbers as general.
Some PCs need a workaround. On computers with broken graphics drivers, the app needs a manual setting to render correctly. I would detect this and switch to the fallback automatically.
Product views





