Problem: I have a list of files in a directory, and I want to retrieve the first file that matches all three substrings criteria. I based my case 1 solution from this example to find the first item that maches a criteria from I have a list of files in a directory,