now uses the MimeReader class