#. Go to `Documents / Configuration / Classification Templates` and create a new template. #. You can set patterns (regex expressions) for filenames and directories. Example of filename pattern to use only .txt files: .txt$ Directory pattern example 1: Documents Directory pattern example 1: Documents / Data If the pattern doesn't contain path separators (/), the file name will be search across all the subdirectories.