class IrisFileName {

   public static Boolean containsInvalidCharacter(String fileName) {
      int len = fileName.codePointCount(0, fileName.length());
      for (int i = 0; i < len; i++) {
         int c = fileName.codePointAt(i);
         if (Arrays.binarySearch(INVALID_CHARS, c) >= 0) {
            return true;
         }
      }
      return false;
   }

}