Updated and simplified MimeFilter