private boolean excludingFile(String line) {
    if (line == null) {
      return false;
    }
    for (int i = 0; i < this.getFileIgnores().length; i++) {
      String matcher = this.getFileIgnores()[i];
      if (matcher != null && matcher.length() > 0 && line.startsWith(matcher)) {
        return true;
      }
    }
    return false;
  }