@Override
  public @Nullable @NlsContexts.HintText String getErrorText(String input) {
    input = input.trim();

    if (input.isEmpty()) {
      return UIBundle.message("file.name.validator.empty");
    }

    try {
      if (myFileSystem.getPath(input).isAbsolute()) {
        return UIBundle.message("file.name.validator.absolute");
      }
    }
    catch (InvalidPathException e) {
      return UIBundle.message("file.name.validator.invalid", e.getMessage());
    }

    return null;
  }
@Override
  public @Nullable @NlsContexts.HintText String getErrorText(String input)