public static @NotNull ClickEvent openFile(final @NotNull String file) {
    return new ClickEvent(Action.OPEN_FILE, file);
  }
Creates a click event that opens a file.

<p>This action is not readable, and may only be used locally on the client.</p>

@param file the file to open
@return a click event
@since 4.0.0
api/src/main/java/net/kyori/adventure/text/event/ClickEvent.java