} catch (IOException | ClassNotFoundException ex) {
Logger.getLogger(AccountTreeXMLFactory.class.getName()).log(Level.SEVERE, null, ex);
}
return account;
}
<BUG>public static RootAccount loadAccountTree(final File file) {
</BUG>
RootAccount account = null;
<BUG>try (Reader reader = new InputStreamReader(new FileInputStream(file), ENCODING)) {
account = loadAccountTree(reader);</BUG>
} catch (IOException ex) {

} catch (IOException | ClassNotFoundException ex) {
Logger.getLogger(AccountTreeXMLFactory.class.getName()).log(Level.SEVERE, null, ex);
}
return account;
}
public static RootAccount loadAccountTree(final Path file) {
RootAccount account = null;
try (final Reader reader = Files.newBufferedReader(file, ENCODING)) {
account = loadAccountTree(reader);
