filter code attachments