File Naming Best Practices

Learn more about best practices for naming files to ensure your data uploads are successful.

The best practice for file naming is to pick a pattern for the file name and provide a matching regular expression. If the file name changes, you can either update the regular expression or create a new source.

Best practices for naming files

Visier recommends naming files with an unchanging file name prefix, followed by numeric dates: the period the file covers (if relevant), and the extraction date. For more information, see Data File Guidelines.

Visier generates a regular expression for the source from the first file name you provide. We recommend broadening this regex to replace specific dates with a general pattern to catch all numeric dates. For example, replace employee_20220228\.txt with employee_[0-9]{8}\.txt.

Further data transfers should follow the same file name pattern. However, you can incorporate renamed files with the regex or a new source.

In this section