@Override
  public boolean affectsMatching(Pattern pattern) {
    for (String each : getAffectedPaths()) {
      if (pattern.matcher(Paths.getNameOf(each)).matches()) return true;
    }
    return false;
  }
@Override
  public boolean affectsMatching(Pattern pattern)