example: attachment.stream.pipe(output);