@Override
public OutputWriter<KeyValue<K, V>> createWriter(int sortShard) {
GcsFilename file = new GcsFilename(bucket, getFileName(sortShard));
MarshallingOutputWriter<KeyValue<K, V>> output =
new MarshallingOutputWriter<>(new GoogleCloudStorageLevelDbOutputWriter(
new GoogleCloudStorageFileOutputWriter(file, MAP_OUTPUT_MIME_TYPE)),
new KeyValueMarshaller<>(keyMarshaller, valueMarshaller));
return output;
}