how to store and retrieve the file in aws s3