S3 files pull

Support Amazon S3 file uploading/management in a way that is consistent with the existing document model.

CS169.