based on your variables from above
assuming we want to filter the retrieved Paths on filenames contained within the FileName_Array items we can do
Assign activity
LHS: FilePathsFiltered | String() - string array
RHS:
File_Paths.Where(Function (x) FileName_Array.Any(Function (f) x.toUpper.EndsWith(f.toUpper))).toArray