* @param file The file to be converted.
* @return The parsed FO Tree instance.
* @throws FOrayException For errors building the FO Tree.
*/
public AreaTree buildAreaTree(final String file) throws FOrayException {
final FoDocumentReader foReader = FoDocumentReader.getInstance();
final FOTreeBuilder foTree = foReader.buildFoTree(file);
final Root root = foTree.getRootFo();
final AreaTree areaTree = this.areaTreeFactory.makeAreaTree(root);
final PioneerLS layout = this.layoutFactory.makeLayout();
final Iterator<PageSequence> iterator = root.getPageSequenceIterator();
while (iterator.hasNext()) {