docs: public static boolean isIncluded(String filename, List<String> includes) {
          logger.debug("filename = [{}], includes = [{}]", filename, includes);
  
          // No rules ? Fine, we index everything
          if (includes == null || includes.isEmpty()) {
              logger.trace("no include rules");
              return true;
          }
  
          for (String include : includes) {
              String regex = include.toLowerCase().replace("?", ".?").replace("*", ".*?");
              logger.trace("regex is [{}]", regex);
              if (filename.toLowerCase().matches(regex)) {
                  logger.trace("does match include regex");
                  return true;
              }
          }
  
          logger.trace("does not match any include pattern");
          return false;
      }