Add `-attach` options

* Factor `_process_attachement`