Adding new path in s3 for the files
Adding StringBuilder and some functions
Changing the main loop, Writing current information for failed tasks
Returning a currect failed message
Saving the input files in new path - in s3