added combiner function for when reading from S3