How to create an array off files wich contains a certain substring

Hello

I am trying to select pdf files wich contains a specific substring and merge those pdf files

i am able to find the files in a specific directory wich contains the substring.
i can merge all the files in that directory.

But i do not know how to merge the files wich contains the substring.
I don’t know how to create a good array off those files wich contains a certain substring

ThanksUipath binders maken facturen (test2).xaml (24.4 KB)