Storing and retrieving cloud content from Amazon S3