private void uploadByteSource(String container, String name, String contentDisposition,
ByteSource byteSource) throws IOException {
BlobStore blobStore = view.getBlobStore();
blobStore.putBlob(container, blobStore.blobBuilder(name)
.payload(new ByteSourcePayload(byteSource))
.contentType("text/plain")
.contentMD5(byteSource.hash(md5()))
.contentLength(byteSource.size())
.contentDisposition(contentDisposition)
.build());