Home  /  Blog

“This File Is a Mess. Clean It Up.”

One sentence reorganized a messy client folder to firm standards, flagged documents that belonged to another client, and deleted nothing. Here are the rules that make AI file cleanup safe.

AI for Law Firms, Legal Authority Lab: attorneys reviewing documents at a desk

Every firm has the file. Downloads dumped into the root folder. Three versions of the same order. A financial affidavit named scan0047. Something that clearly belongs to a different client.

During office hours this month, I built one of those on purpose. A deliberately messy client folder, about a hundred documents with no organization at all. Then I gave my AI paralegal one sentence:

This file is a mess. Clean it up.

What it does with one sentence

On a big task, Claude shows you its progress as it works, so you can watch what it’s doing instead of hoping. The sequence went like this:

  1. Inventory. It listed every file in the folder.
  2. Read. It opened and scanned each document to figure out what it actually was, not what the file name claimed.
  3. Dry run. It planned every move and rename before touching anything.
  4. Apply. It put each document in the right subfolder and renamed it to our firm’s naming standard.
  5. Report. It gave me a log of every change and a short list of decisions it needed from me.

The report is where the value is. In this folder it found two documents that belonged to a different client, an order that had been filed twice, and a set of duplicates. A person doing this by hand might catch those. Might.

Hand organizing documents with paper clips

Quarantine, never delete

This is the rule that makes the whole thing safe. My AI does not delete files during a cleanup. Ever.

Anything questionable goes into a holding folder: duplicates, documents that look misfiled, files it can’t confidently identify. Then a person looks and decides. In my case, I answered its questions in a few lines: delete the duplicates, move the misfiled documents to the correct client’s folder. Then it did.

The two documents from another client are why this rule matters. In a family law file, a misfiled document is a confidentiality problem, not just clutter. You want a system that surfaces it, and you want a human deciding what happens next.

Teach it where things go

A cleanup is only as good as the standard it’s cleaning toward. If your firm doesn’t have a folder structure and a naming convention, start there. Your AI can help you write one, but it can’t follow a standard that doesn’t exist.

Once the standard exists, refine it as you go. AI tools make a lot of versions of documents, which is useful until your drafts folder is cluttered with them. So I gave mine a new rule: old versions go into a separate output folder, and only the newest working version goes into drafts. Trackers stay in the matter root. Hearing documents go to the hearing folder. Correspondence goes to correspondence. It wrote the rule, installed it for the firm, and ran a sweep to apply it to every open matter.

A coaching client wanted the opposite of my setup for pleadings. I split them by which party filed. She wanted one pleadings folder in date order, oldest on the bottom, the way paper files used to work. She told her AI, and it reorganized everything her way. The system follows your preferences, not mine.

Watch your file name length

A practical warning from that same client. She hit a PDF that neither she nor her staff could open. The cause is usually length. Your computer counts the whole path, every nested folder plus the file name, not just the name you see.

She told her AI no file names over 50 characters, and to truncate and rename anything longer across the firm. That was roughly 1,700 files and it took hours. Big jobs take time. If your AI ever refuses to touch a file, rename it shorter and move it closer to the top of the folder tree, then try again.

Then put it on a schedule

Cleaning one file is a demo. Keeping every file clean is a system.

Once your organization rules live in a project, you can schedule the cleanup. Tell your AI to scan and reorganize your open matters folder on set days, say Monday and Thursday mornings, at a time your computer is on. Ask it to make an on-demand version too, so you can run it any time a file gets ugly.

That’s the bigger point. Clean folders aren’t housekeeping. They’re the input everything else depends on: hearing prep, discovery review, drafting. Messy data in means messy work out. I’ve written about the cost of moving files around by hand, and this is the fix at the source.

Want to watch it clean up a real folder? Open Office Hours run Thursdays 4–5 PM ET and Fridays 2–3 PM ET, and any lawyer or paralegal is welcome — get the Zoom link here. To set up your firm’s folder standards and cleanup schedule, book a custom build strategy session.

Leisa Wintz, MS, Esq.
Leisa Wintz, MS, Esq.CEO, Legal Authority Lab · Owner, Family Matters Law Group, P.A.

Florida family law attorney for 18 years, certified family mediator and Guardian ad Litem. Not a tech expert: an attorney who figured it out inside a working firm, with an engineer checking every build. Meet the team.

Want to see this run on a real file?

Bring the question you were embarrassed to ask in the tech group. Free Open Office Hours on Zoom, Thursdays 4–5 PM ET and Fridays 2–3 PM ET. Any lawyer or paralegal is welcome.

Keep reading

Browse all articles