added BB::getFileMimeType() utility