added mimetype recognition

mime