code: public static JSONObject parseObject(File f, String csName) throws IOException {
          return (JSONObject)parse(f, csName);
      }
docs: Parse the contents of a {@link File} as a JSON object, specifying the character set by
  name.
  
  @param   f       the {@link File}
  @param   csName  the character set name
  @return          the JSON object
  @throws  JSONException if the file does not contain a valid JSON value
  @throws  IOException on any I/O errors
  @throws  ClassCastException if the value is not an object