Fix bug DNN-3073: when get files in telerik dialog, we need check whether file match the search patterns.