code: public static JSONArray parseArray(File f, Charset charSet) throws IOException {
          return (JSONArray)parse(f, charSet);
      }
docs: Parse the contents of a {@link File} as a JSON array, specifying the character set.
  
  @param   f       the {@link File}
  @param   charSet the character set
  @return          the JSON array
  @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 array