Hi Thayne,
There are several methods for this, but to provide the best methods, I did have some questions.
1) Are the file name lengths consistent?
2) Do they contain any static characters or strings, such "test_1234_test.txt" or "Account1234Report.txt"?
3) Are the numbers something that you can tell ahead of time, like a date or time?
4) Would it be possible to get an example filename?