The block I am using is running a foreach loop on string arraylist, in lambda. The expression is trying to filter out the list of files which matches the pattern and stores