+ * @param charset
+ * The charset to use for parsing, or <code>null</code> if the
+ * charset is unknown or the file is “binary” file, i.e. not
+ * characters are read from it but bytes (e.g. image files)
+ * @throws IOException
+ * if an I/O error occurs