Merge the attachments