added mimetype filter