read S3 content into memory
layout and typo