# Law Firm File Naming Conventions That Survive a Move

> Law firm file naming conventions that sort, search and survive a move: dates first, safe characters, version labels, and names for productions and filings.

- Author: [Lucerna Law](https://lucernalaw.com)
- Published: 2026-11-05
- Category: [Document management and automation](https://lucernalaw.com/blog/category/document-management-and-automation)
- Canonical: https://lucernalaw.com/blog/law-firm-file-naming-conventions

Good law firm file naming conventions put the same few facts in the same order on every file: the matter number, the document's own date written year-month-day, a short description, and a version or status label. They avoid characters that Windows, SharePoint or OneDrive reject, and they stay short enough to survive being moved into a deeper folder.

> **In brief**
>
> - A date written year, month, day, with leading zeros, sorts into time order as plain text. The internet date standard, RFC 3339, says exactly that.
> - Windows reserves nine characters and a list of device names, such as CON and NUL. OneDrive and SharePoint block the same nine characters and add their own reserved names.
> - "Final" in a file name is a guess about the future. A version number or a document system's version history records what actually happened.
> - The convention only works if something enforces it: a template, a system's required fields, or one person who renames incoming files.

## What should law firm file naming conventions include?

Four parts, in a fixed order: who the file belongs to, when the document is dated, what it is, and which version or status it has. A typical pattern is matter number, date, document type and short description, then a version label. Every part should be readable without opening the file.

Each part does a different job.

| Part | Example | Why it is there |
| --- | --- | --- |
| Matter number | `2026-0142` | Keeps files tied to the matter when they are attached, downloaded or moved |
| Document date | `2026-03-18` | Sorts the file into the matter's time line |
| Document type | `Ltr`, `Decl`, `Mtn`, `Contract` | Lets a reader filter by kind without opening anything |
| Description | `Smith-to-Jones-demand` | Says what this one is |
| Version or status | `v03`, `as-filed`, `as-produced` | Separates drafts from the copy that went out |

Put together: `2026-0142_2026-03-18_Ltr_Smith-to-Jones-demand_v03.docx`.

The date in the name should be the document's date, not the day it was saved. A letter dated March 18 and scanned in June is still a March 18 letter. That choice is what makes a matter folder read as a chronology when it is sorted by name.

The description should be short and use the matter's own words: party names, the defined term in the contract, the exhibit number. Avoid the firm's internal shorthand that a new associate or the client will not recognise. A list of approved document-type codes, kept to a page, saves arguments about whether a document is a "letter" or "correspondence."

These parts do the same job as the profile fields in a document system. Where the firm uses one, the file name and the profile should agree; the post on [required columns and content types for a SharePoint matter profile](https://lucernalaw.com/blog/sharepoint-legal-document-management#required-columns-and-content-types-the-sharepoint-matter-profile) shows how to make those fields mandatory.

## Why dates in file names should run year, month, day

Because a date written year-month-day, with leading zeros, sorts correctly as plain text. Any file list sorted by name then shows documents in date order. Dates written month/day/year sort by month first and mix years together, and slashes are not allowed in Windows file names at all.

The internet's date format standard explains the property. [RFC 3339, Date and Time on the Internet](https://datatracker.ietf.org/doc/html/rfc3339), says in its section on ordering that if date and time components are ordered from least precise to most precise, the strings "may be sorted as strings" and "a time-ordered sequence will result," provided they use the same form throughout. It adds that the presence of optional punctuation would violate this characteristic. Its full-date form is year, hyphen, month, hyphen, day.

The same standard warns about the alternative. In its section on human readability, RFC 3339 says a date format such as "10/11/1996" is "completely unsuitable for global interchange because it is interpreted differently in different countries." A firm with clients or co-counsel abroad has a practical reason to avoid it: 10/11 is October 11 in the United States and 10 November in much of the world.

Three habits keep dates consistent.

1. **Always four-digit years and two-digit months and days.** `2026-03-08`, never `2026-3-8`, so the ninth of March sorts before the tenth.
2. **Use one separator style.** Hyphens inside the date, underscores between parts of the name, or the reverse, but the same on every file.
3. **Mark undated documents.** Use a fixed placeholder such as `0000-00-00` or `undated` so they gather together instead of scattering.

## Characters and lengths that break law firm file names

Nine characters are reserved in Windows file names and blocked by OneDrive and SharePoint: the double quote, asterisk, colon, less-than, greater-than, question mark, forward slash, backslash and vertical bar. Windows also reserves device names such as CON, PRN, AUX and NUL. Long folder paths cause their own failures, which differ by app.

Microsoft's Windows documentation on [naming files, paths and namespaces](https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file) lists the reserved characters: `<`, `>`, `:`, `"`, `/`, `\`, `|`, `?` and `*`. It tells developers not to use the reserved names CON, PRN, AUX, NUL, COM1 through COM9 and LPT1 through LPT9, and to avoid those names followed immediately by an extension, such as `NUL.txt`. It says not to end a file or folder name with a space or a period, and not to assume case sensitivity: `OSCAR`, `Oscar` and `oscar` should be treated as the same name. It also says that in editions before Windows 10 version 1607 the maximum path length was 260 characters, and that later versions need a registry or Group Policy change to remove the limit.

Microsoft's page on [restrictions and limitations in OneDrive and SharePoint](https://support.microsoft.com/en-us/office/restrictions-and-limitations-in-onedrive-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa) blocks the same nine characters in file and folder names and says leading and trailing spaces are not allowed. It adds names that are not allowed at all, including `.lock`, `desktop.ini`, `_vti_` anywhere in a name, and any file name starting with `~$`. It warns that some organizations do not yet support `#` and `%` in names, that Office desktop apps cannot save to a OneDrive or SharePoint folder whose name contains a semicolon, and that path-length limits differ by app and Office version.

For a convention, the safe course is simpler than the lists:

- **Letters, digits, hyphens and underscores only.** No `&`, `#`, `%`, commas, apostrophes or accented characters, even where one system accepts them, because the file will pass through other systems.
- **No trailing spaces or periods.** They are hard to see, Windows says its shell and user interface do not support them, and OneDrive rejects leading and trailing spaces.
- **A length budget.** Keep names to a length that leaves room for the folder path, because the same name nested several folders deeper can cross an app's path limit.
- **No case-only differences.** `Draft.docx` and `draft.docx` are the same file to Windows.

## How should version numbers appear in a file name?

As a number that only goes up, with leading zeros, such as `v01`, `v02`, `v03`, and a status word for a copy that left the firm, such as `as-sent` or `as-filed`. Avoid "final," which is a guess about the future that the next round of comments usually disproves.

A file named `Agreement_FINAL_revised_2.docx` records the history of an argument, not the state of the document. Version numbers carry less meaning, and that is their strength: `v07` says only that there were six before it. Leading zeros keep `v10` from sorting before `v02`.

Status words are for copies that matter later. The version a client approved, the version sent to the other side, and the version filed with the court may each become evidence. A firm that marks them, as `as-sent-2026-03-18` or `as-filed`, can find them without reading every draft. Those copies should then be left alone: edits happen on a new version, never on the as-sent file.

Where the files sit in a system with version history, the file name does not need to carry every save. Microsoft's guide to [restoring a previous version of a file in OneDrive](https://support.microsoft.com/en-us/office/restore-a-previous-version-of-a-file-stored-in-onedrive-159cad6d-d76e-4981-88ef-de6e96c93893) says version history lets you see and restore older versions of files stored in OneDrive or SharePoint, works with all file types including PDFs, and that an administrator using a work or school account may have turned versioning off. How version limits decide what can be recovered is covered in [document versions and the right draft](https://lucernalaw.com/blog/legal-document-management-software#document-versions-and-the-right-draft). The practical split is to let the system keep the saves and use the file name for the milestones: the round number, and the copies that left the firm.

## Naming conventions for incoming documents, productions and filings

Rename what the firm receives, but keep the original name on record. Name what the firm produces and files by its identifier: the Bates range for a production, the docket number for a filing. Those identifiers are what other people will cite, so the file names should let anyone find a cited document.

Incoming documents arrive with names like `scan0042.pdf` or `Document (3).pdf`. The renamed file should follow the convention, and the original name should be kept somewhere, in the document system's profile or a log, because the sender may refer to it later. The post on [file names, IDs and indexing for scanned legal documents](https://lucernalaw.com/blog/legal-document-scanning-software#file-names-ids-and-indexing-for-scanned-legal-documents) covers the records that should travel with a scan.

For the firm's own outgoing sets, the useful identifiers already exist.

| Set | Name it by | Example |
| --- | --- | --- |
| Production volume | Producing party, volume, Bates range | `2026-0142_PROD003_ABC000101-ABC000450.pdf` |
| Court filing | Filing date, docket entry, short title | `2026-0142_2026-04-02_ECF-37_Opp-to-MSJ_as-filed.pdf` |
| Deposition exhibit | Witness and exhibit number | `2026-0142_Depo-Ex-012_Jones.pdf` |
| Signed agreement | Execution date and status | `2026-0142_2026-05-01_Settlement-Agmt_executed.pdf` |

The filed copy is best saved from the docket after filing, so the file under that name is the one the court has. The same goes for signed documents: the executed PDF as received is the record, and any marked-up copy gets its own name.

## Who enforces law firm file naming conventions?

A convention nobody enforces is a suggestion. The reliable enforcers are mechanical: a document template that saves with the right name, a system that requires profile fields at upload, or a short checklist for whoever files incoming documents. Training helps, but only alongside one of those.

One approach gives each matter an owner, such as the paralegal, who renames incoming files and keeps the folder tidy. Another pushes the work into the system, so that a file cannot be saved to the matter without a document type and date. Either way, the rule sheet should fit on one page, give examples rather than principles, and say what to do with the awkward cases: undated documents, emails saved as files, and documents with several parts.

File names also feed the tools that read the files. Lucerna Law, for example, takes each file's title from its file name, and sends that title to the answering model with the matter's text when a question is asked, as its [answers on what is sent with a question](https://lucernalaw.com/#faq) explain. A file called `scan0042.pdf` tells a reader, human or machine, nothing about what it holds.

A convention also has to survive change. When the firm moves to a new system, the names travel with the files, while profile fields arrive only if the migration carries them over. That is the strongest argument for putting the matter number and date in the name itself.

## A file naming convention worked through one hypothetical matter

The pattern is easiest to judge on real-looking files. Here is a short folder for a hypothetical breach-of-contract matter, numbered 2026-0142, sorted by name. The order the names sort in is the order the documents happened, and the copies that left the firm are marked.

```
2026-0142_2025-11-04_Contract_Supply-Agmt_executed.pdf
2026-0142_2026-02-10_Ltr_Client-to-Firm-intake.pdf
2026-0142_2026-03-18_Ltr_Smith-to-Jones-demand_as-sent.pdf
2026-0142_2026-03-18_Ltr_Smith-to-Jones-demand_v03.docx
2026-0142_2026-04-02_ECF-001_Complaint_as-filed.pdf
2026-0142_2026-06-15_PROD001_ABC000001-ABC000100.pdf
2026-0142_undated_Notes_Client-handwritten-timeline.pdf
```

Read down the list, and it is a chronology of the matter. The demand letter's working draft and its sent copy sit side by side, and nobody has to open either to know which went out. The undated notes sort to the end instead of hiding among dated files.

Before adopting a scheme like this, test it against the firm's own systems:

- [ ] Every character in the pattern is accepted by the firm's storage, sync client and document system.
- [ ] The longest realistic name, inside the deepest matter folder, stays within the path limits of the apps the firm uses.
- [ ] Sorting by name puts a test folder in date order.
- [ ] The rule sheet covers undated documents, emails, multi-part documents and copies that left the firm.
- [ ] Someone is named to rename incoming files, or the system requires the fields.

Briefs follow their own naming once they are filed, but their content has formatting rules of its own, set by the court; the post on [brief formatting requirements](https://lucernalaw.com/blog/brief-formatting-requirements) covers the federal appellate rules.
