Check when you want to determine the file with a regular expression.
Regular expression could be for example \w+.txt or used named group (?<name>\w+).txt.