public Document read(File file) throws DocumentException, IOException, XmlPullParserException {
        String systemID = file.getAbsolutePath();
        return read(new BufferedReader(new FileReader(file)), systemID);
    }
<p>Reads a Document from the given <code>File</code></p>

@param file is the <code>File</code> to read from.
@return the newly created Document instance
@throws DocumentException              if an error occurs during parsing.
@throws IOException if an error occurs during reading
@throws XmlPullParserException if an error occurs creating a pull parser
xmppserver/src/main/java/org/dom4j/io/XMPPPacketReader.java