message: support 3 types para
diff: @@ -81,10 +81,6 @@ const std::string& getFileBySuffix(
  while ((dirp = readdir(dp)) != nullptr) {
  if (dirp->d_type == DT_REG) {
  for (int idx = 0; idx < suffixVector.size(); ++idx) {
  - if (suffixVector[idx].compare("*") == 0) {
  - fileName = static_cast<std::string>(dirp->d_name);
  - break;
  - } else {
  if (std::string(dirp->d_name).find(suffixVector[idx]) !=
  std::string::npos) {
  fileName = static_cast<std::string>(dirp->d_name);
  @@ -92,7 +88,6 @@ const std::string& getFileBySuffix(
  }
  }
  }
  - }
  if (fileName.length() != 0) break;
  }
  closedir(dp);
  