code: @Override
      public <T> T read(final Class<T> projectionInterface) throws IOException {
          try {
              Document document = projector.config().createDocumentBuilder().parse(file);
              return projector.projectDOMNode(document, projectionInterface);
          } catch (SAXException e) {
              throw new XBDocumentParsingException(e);
          }
      }
docs: Read a XML document and return a projection to it.
  
  @param projectionInterface
  @return a new projection pointing to the content of the file.
  @throws IOException