File naming and version control for accounting and law firms
File naming and version control for CPA and law firms: 2 naming patterns, a 10-rule standard, 5 version states and what to do when the wrong draft goes out.

Name every client file with the same five parts in the same order: client or matter ID, year or date, category from a fixed list, a short descriptor, and a two-digit version. Keep names under 100 characters, use only letters, numbers, hyphens and underscores, and never put a Social Security number, account number or sensitive fact in a name. Version numbers go up and never get reused; “final” is a status recorded by the person who approved it, not a word typed into a filename. The two patterns below, one for accounting firms and one for law firms, come with a 10-rule standard and a version-control routine any staff member can follow.
Key decisions
- Use stable client or matter references and predictable date, category and version components without exposing unnecessary identifiers.
- Keep document approval separate from its filename and test exports, restoration and the correction route for an issued wrong version.
The two naming patterns
Paste these into your procedures. They are the same patterns the secure file naming and routing workflow applies when it renames inbound files.
| Firm type | Pattern | Example |
|---|---|---|
| Accounting | [ClientID]_[TaxYear]_[Category]_[Descriptor]_v[NN] |
C1042_2025_1099-B_Fidelity_v01.pdf |
| Accounting, monthly work | [ClientID]_[YYYY-MM]_[Category]_[Descriptor]_v[NN] |
C1042_2026-09_Close_ReportPack_v02.pdf |
| Law | [MatterID]_[Category]_[Descriptor]_[YYYY-MM-DD]_v[NN] |
M2025-0187_Correspondence_OpposingCounsel_2025-09-14_v01.pdf |
| Law, drafts | [MatterID]_[Category]_[Descriptor]_v[NN] |
M2026-0142_Agreement_Settlement_v05.docx |
| Firm procedures | PROC-[NNN]_[Title]_v[NN] |
PROC-014_AccessReview_v03.pdf |
The 10-rule naming standard
- IDs, not names. Start with the client or matter number from your practice-management system. Names change, collide and reveal more than they need to.
- Define the date. Accounting uses the tax year or reporting period. Law uses the document’s own date (the letter’s date, the filing date), not the day it was saved. Always
YYYY-MM-DDorYYYY-MM. - Categories come from a list of 15 to 25. For example:
1099-B,W-2,BankStmt,Return,Engagement,Notice,Pleading,Discovery,Correspondence,Agreement. New categories need the records owner’s approval. - Descriptors are short and neutral. “Fidelity” or “OpposingCounsel,” not “Medical records re: anxiety diagnosis.”
- Two-digit versions, always.
v01tov99sort correctly;v1,v10,v2do not. - No status words in the name. No “final,” “approved,” “FINAL2” or “use this one.” Status lives in the document system or the approval record.
- No sensitive identifiers. No SSNs, ITINs, full account numbers, dates of birth or minors’ names. Filenames appear in sync alerts, email previews and search indexes.
- 100 characters, safe characters. Letters, numbers, hyphens and underscores. No spaces, ampersands, slashes, colons or accented characters that break older tools.
- Never overwrite on collision. If the target name exists, increment the version and flag it for review.
- Keep the original of anything received. Received files keep their original in the intake record, with a renamed working copy linked to it.
Version control without “final-final”
Version control answers three questions: which copy is current, what changed, and who approved the version that went out. A filename alone cannot answer the third, so the routine has five states.
| State | What it means | Who moves it on |
|---|---|---|
| Draft | Open to edits in the working source | Preparer or drafting lawyer |
| In review | A captured copy is with the reviewer; edits to the source pause | Reviewer returns it with notes or approves |
| Issued | The approved version was sent, signed or filed | Approver records version, date and recipient |
| Superseded | A later issued version replaced it | Owner marks it when the new version issues |
| Withdrawn | Issued in error and recalled | Partner, with a note of who received it |
The routine
- One working source. Collaborate in a single file in the document system, which keeps its own version history. Do not keep a desktop copy, an emailed copy and a portal copy all “current.”
- Capture what the reviewer reads. When a draft goes to review, save it as the next version number. The reviewer’s sign-off then refers to content that still exists.
- Exported copies carry their version inside. Put the version and date in the footer or title block of every PDF that leaves the firm. Recipients rename files; footers survive.
- Record the issue. Log the document, version, date, recipient and channel when it goes out. For a tax return, that record sits beside the signed e-file authorization.
- Keep a one-line change note. “v04: added the state composite filing; federal figures unchanged” tells the next reader whether anything needs re-review. “Updated” tells them nothing.
- Clean before sending outside. Accept or reject tracked changes and remove comments and document metadata before a draft goes to opposing counsel or a third party.
Version history in your platform helps recover a bad edit, but test it before you rely on it. Microsoft’s OneDrive restore instructions describe one product’s steps; try them on a test file, not a live deliverable.
Decision rules for staff
- If two people edited separate copies, find the last common version, compare both against it, and merge accepted changes into the working source as the next version. Never keep “the newer one” by timestamp.
- If the wrong version went to a client or another party, stop further sending, record who received it, and tell the partner the same day. Send the correct version as a new number with a note explaining the replacement; do not silently overwrite the shared link.
- If a client upload has a meaningless name such as
scan0042.pdf, keep the original in intake, rename the working copy, and log both names. If you cannot tell the tax year or matter, ask the client; do not guess. - If a file needs a sensitive identifier to be found, put the identifier in the document system’s restricted metadata field, not the name.
- If a renamed file is part of a court production, follow the production protocol and keep the original names and metadata; production numbering is separate from internal naming.
Rolling it out without breaking links
Start with new files in one workflow, such as 2026 source documents or newly opened matters. Do not mass-rename the archive: old names sit inside spreadsheet links, engagement letters, court filings and emails clients still have. If you do rename a batch, produce a list of old and new names first, check it for collisions, test 20 files end to end, and keep the mapping for at least a year. Changing systems at the same time? Follow the migration steps in the document management standard for firms before you touch names.
Inbound email attachments are where naming breaks most often. The Outlook attachments to secure portal intake setup renames and routes them before they reach a client folder, and the document request process gives clients the categories up front so fewer files arrive unnamed.
Illustrative example: a settlement agreement at a 5-lawyer litigation firm
Matter M2026-0142 settles in principle on Monday, March 2, 2026. The associate drafts M2026-0142_Agreement_Settlement_v01.docx in the firm’s document system; the partner’s review copy is v02, and the cleaned copy sent to opposing counsel on March 4 is v03, logged with the recipient and time. Opposing counsel’s redline comes back as Settlement Agreement (OC comments).docx; the paralegal keeps it as received and saves the working copy as v04.
The client asks for one change on March 9, which becomes v05. On March 10 the associate notices the client’s copy and opposing counsel’s copy differ: v05 went to the client, but v04 had been sent to opposing counsel by mistake. Under the wrong-version rule, the partner sends v05 to opposing counsel with a one-line note that it replaces v04, and records both sends. The executed agreement is v06, issued on March 13 and stored with the signature record; v01 to v05 are marked superseded. Total paralegal time on version tracking for the matter: about 40 minutes.
Rules that apply
- FTC Safeguards Rule, 16 CFR 314.4(c)(1) and (c)(3). Covered firms, including tax preparers, limit access to customer information and encrypt it in transit and at rest. Keeping identifiers out of filenames keeps them out of notifications and logs that sit outside those controls. IRS Publication 4557 covers protecting taxpayer data for preparers.
- Tax records. IRS Publication 1345 requires e-file providers to keep signed Form 8879 for 3 years from the return due date or the IRS received date, whichever is later, which is why the issued-return record sits beside it. IRC §7216 governs use and disclosure of return information.
- Law firms. ABA Model Rule 1.6(c) requires reasonable efforts to prevent unauthorized disclosure, which covers metadata left in drafts sent outside the firm. Rule 1.1 Comment 8 expects competence with the technology you use.
- Litigation. FRCP 34(b)(2)(E) requires producing documents as they are kept in the usual course of business or organized to correspond to the request, and ESI in the form ordinarily maintained or a reasonably usable form, so renaming and metadata matter in productions.
Check your state’s version of Rule 1.6, any state ethics opinion on metadata in documents sent to opposing counsel, and your local court’s production rules.
This article describes administrative practice. It is not legal or tax advice; have a qualified professional review your firm’s policies.
Common implementation mistakes
Return FINAL (2) use this.pdfbesideReturn FINAL.pdf, with no record of which one was filed.- Client names plus the last four digits of an SSN in every filename.
- A weekend script that renamed 30,000 archived files and broke every linked workpaper.
- Single-digit versions, so v10 sorts above v2 and staff open the wrong draft.
- Tracked changes and internal comments left in a draft sent to the other side.
Next step
Download the free File naming and routing for CPA and law firms workbook: it holds both naming patterns, the 100-character rule, the category list, collision handling and a weekly manifest check you can hand to a records coordinator. The accounting firm hub and the law firm hub list related workflows, and the Operations Desk can set up automatic renaming and routing in your current platform.
Sources and application notes
Timings, workload estimates and approval limits in this guide are proposed operating settings. Adapt them to your firm; binding duties come from the applicable rules.
- FTC Safeguards Rule compliance guide
- IRS Section 7216 information center
- ABA Model Rule 1.6: Confidentiality
- Microsoft's OneDrive restore instructions
- 16 CFR 314.4(c)(1) and (c)(3)
- IRS Publication 4557
- IRS Publication 1345
- FRCP 34(b)(2)(E)
U.S. tax and legal examples need jurisdiction-specific review. ABA model rules apply only as adopted. Sources describe requirements or product behavior; they do not certify this workflow.
Publisher: FirmWorkflows. Report a correction with the URL and statement concerned.



