use mimetype from file instead of own property