code: function(stream, callback) {
                      var content = '';
                      stream.on('data', function(chunk) {
                        content += chunk;
                      });
                      stream.on('end', function() {
                        callback(content);
                      });
                    }
docs: console.log('Attachment:' + attachment.generatedFileName);