starting code to pull and process files from S3