extend FileReadingCollector to support reading from s3