Waiting for a file to be created and continuing the iteration loop after a message is triggered
Based on the previous scenario, this scenario describes a Job triggers a message on
the console when a text file is created in the directory being scanned, without ending
the scanning process immediately. The Job continues scanning the directory until the
number of iterations reaches the defined maximum value.