Handle S3 objects like Node's fs module.