why check mime type of handout?