File-Naming Best Practices
-
1
Avoid using special characters in a file name.
Computers and other electronic devices frequently use special characters (such as \ / : * ? “ < > | [ ] & $ , .) for specific tasks in an electronic environment. For example, a forward slash is used to identify folder levels in Microsoft products, while Mac operating systems use the colon. Periods are used in front of file-name extensions to denote file formats such as .jpg and .doc; using them in a file name could result in lost files or errors. Using these reserved characters can cause the system to misinterpret or be unable to read the file.
-
2
Use underscores instead of periods or spaces.
As mentioned above, periods already have a specific function in a file name, which is to tell the computer program where the file-name extension begins. Spaces are frequently translated in a web environment to be read as “%20”.
For example, if it were available online, naming a file:
Naming tutorial.doc
Would appear as:
Naming%20tutorial.doc.
This alteration can cause confusion in identifying the actual file name. Spaces in file names can also cause broken links, because word processing tools like Microsoft Word, and email clients like Microsoft Outlook, recognize spaces as an opportunity to move to another line.
Therefore, a link to:
\\Ah1\Intranet\ar\naming conventions
Could become:
\\Ah1\Intranet\ar\naming
conventions
-
3
Shorter is better.
Different operating systems and software have different limits on the acceptable length of file names and file paths. Some systems allow up to 256 characters, while others allow far fewer. Keeping file names short can help prevent any future issues. Generally about 25-30 characters is enough space to capture necessary descriptive information.
-
4
File name should include all necessary descriptive information independent of where it is stored.
Files are frequently copied to other folders, downloaded, and emailed. They may be migrated to newer storage, or moved permanently if transferred to the archive. It is important to ensure the file name is descriptive enough to identify the file no matter where the original lives or where a copy is moved.
Electronic records are usually organized in a series of folders. For example: World_War_I\Posters\Owens\0001.tif
While this is a very organized way of storing records, it is only efficient as long as the files stay in their original folders in their original context. When multiple staff work on a project or if staff are multitasking, it is very easy to misfile a document. As soon as “0001.tif” is copied to another folder, or emailed to an agency, the context provided by the folders in which the document is nested is lost. Context is particularly important in legal situations because it provides authenticity and trustworthiness of the record. Losing the context of a record can possibly compromise its trustworthiness and therefore its validity or admissibility for court proceedings. Additionally, if the file has the same name as another file on the system in a different folder, once it is moved, the computer could mistake it for the same file and write over one of the files.
-
5
Include dates and format them consistently.
The point of organizing an agency’s electronic records is to enable accessibility not only by current users, but by future users as well. Records retention schedules are applied to electronic records just as they are to paper records. Having the relevant date associated with the file is essential. Though many operating systems store this information with the file, as users move the file among folders and computers and as the file is re-saved as revisions are made, those dates change. A file could have a “created on” date that does not accurately reflect when it was created.
The best way to prevent confusion is include the relevant date (the date that the file was created or revised) in the file name itself. Some may find it more useful to have the date at the start of the file name, while others might prefer it at the end. Either way, it is a useful sorting tool when the files are organized. Just be sure to keep it consistent.
The best way to list the date is based on an international standard – ISO 8601. ISO 8601 specifies numeric representations of date and time to be used in electronic format. The international standard date notation is:
YYYY_MM_DD or YYYYMMDD
YYYY is the year, MM is the month of the year between 01 (January) and 12 (December), and DD is the day of the month between 01 and 31. For example, January 5, 2008 is written as 2008_01_05 or 20080105. This format allows ease of sorting and comparing files by date and prevents confusion with other date formats (especially in other formats that use just two digits for the year).
-
6
Include a version number on documents to manage drafts and revisions.
A file will frequently have multiple versions. Specifying the version of a file can help you quickly identify the most accurate or most definitive version of the document.
The easiest way to do this is to use the letter “v” to represent “version number.” Then, “v01, v02, v03” can be added as needed to a file and the main file name can stay the same. This is much more effective than other common additions like “update,” “new,” “old,” etc. An exception to this rule is using “FINAL” to indicate the final version of the document. When using “FINAL”, be sure to use it instead of the version number, rather than in addition to it.
-
7
Be consistent.
The most important rule of file naming is to be consistent. Some choices will need to be made about organization that affect the entire work group – where to include the date, what abbreviations to use, etc. Regardless of what the group decides, it is only effective if everyone follows the rules consistently.
-
8
There will be exceptions.
One notable consideration is the batch-scanning process. This process typically relies on a program that sets its own parameters on the file names allowed. If this is the case, take advantage of the folder hierarchy and, when possible, apply the rules outlined here to folder names. Avoid spaces and special characters. Be consistent throughout the project; consider developing a file-naming standard for all batch-scanning projects.
Remember: this guidance is not going to apply absolutely to every situation; it should be used as a guide to encourage discussion in offices and work groups to develop file-naming practices that work best in those specific environments.
Additional Resources
Controlled Vocabulary. “Recommendations for Limitations on Image Filenaming.”
Kuhn, M. “A summary of the international standard date and time notation.”