Added code to get data from S3 and iterating over SQS queue.