Added support for attachments to archiver