add error checking to mimeTypeListner and send error report on index
page.