code: protected boolean isRelevant(String file) {
          if (mExcludes != null && mExcludes.matcher(file).find()) {
              return false;
          }
          if (mIncludes != null && !mIncludes.matcher(file).find()) {
              return false;
          }
          return true;
      }
docs: Determines if the file should be recorded based on the given
  configuration. Note that additional filtering may happen in monitor(s),
  e.g., temp files.
  
  @param file
  File name to check
  @return True if file should be recorded, false otherwise