emit a mime event when file type is recognized