private static boolean isValidFileNameChar(char c, Platform os, boolean strict) {
    if (isSeparator(c)) {
      return false;
    }
    if ((strict || os == Platform.WINDOWS) && (c < 32 || WINDOWS_INVALID_CHARS.indexOf(c) >= 0)) {
      return false;
    }
    return !strict || c != ';';
  }
private static boolean isValidFileNameChar(char c, Platform os, boolean strict)