• 3 errors are coming for 1 file.

    I want to make sure that the loop goes on executing even if the processing of one of the files fails.

    Also I want to send a mail for the corrupted file, which i am sending through the script task of the event handler.

    This problem will also occur if i want to log the error messages. It will be logged thrice and not a consolidation of the same error of the same file.