Let me just preface this by saying this is possible, however probably not in the best way or in the way you are thinking. You must have any part of the file path, the more specific (aka more that you can make static) the better.
This is because to do what you are asking we need to loop through all subfolders from the starting file path given until we find a match. As far as I know this is the only way to do what you want. It would be a bit complicated as you would need to compare the last folder in the file path to the folder name you are looking for and every other folder would need to be ignored. Depending on the number of sub folders/files, this operation could also take some time which could slow down your workflow. If you can mostly standardize or find a way to set the file path with variables that can change based on each pc this would be better.
I hope that there is a better solution, and I will try to think of one and look on the forums, but I believe this is the only way to do what you are asking. If you are having trouble picturing what I am describing, I’ll try to build a small workflow sometime when I have a bit of extra time.