code: public static JSONValue parse(File f) throws IOException {
          try (InputStream is = new FileInputStream(f)) {
              return parse(is);
          }
      }
docs: Parse the contents of a {@link File} as a JSON value.
  
  @param   f       the {@link File}
  @return          the JSON value
  @throws  JSONException if the file does not contain a valid JSON value
  @throws  IOException on any I/O errors