We are using List file and Fetch file to continuously monitor shared location to read the files and process the next level of jobs. Issue we are facing is to wait for all the files to be read before running the next jobs.

Currently list file has 5 files but during the fetch process , it reads file one by one. Next processor after fetch will work on the files but we have to wait until all the files are read before the next processor runs. How to acheive this.

Number of files keeps changing.