plugin for adding automatic icons for non-image attachments