You can use the FKM plugin, with date codes invoked within the filename pattern.
Suppose you have file that is created daily in which the filename pattern includes the current date. For example, the current date is September 16th, 2021 and a file was created with the name Test_File-y2021-m09-d16.log and you want it detected daily.
You can use the the following date format code, Test_File-y<today %Y>-m<today %m>-d<today %d>.log, as your Source filename.
Below is how the FKM view would look like:
Alternatively, you can do the same for <tomorrow> date codes. Using the same example as seen above, with the exception of applying the appropriate date code as seen below:
Attached is the "Date Format" sampler. Please note this sampler was set up on version GA5.9.0.