using of \OC_Helper::getMimeType() instead of finfo