class DMNReader extends DMNSerializer {

    public Pair<TDefinitions, PrefixNamespaceMappings> read(File input) {
        try {
            logger.info(String.format("Reading DMN '%s' ...", input.getAbsolutePath()));

            Pair<TDefinitions, PrefixNamespaceMappings> result = transform(readObject(input));

            logger.info("DMN read.");
            return result;
        } catch (Exception e) {
            throw new DMNRuntimeException(String.format("Cannot read DMN from '%s'", input.getAbsolutePath()), e);
        }
    }

    public  DMNReader(BuildLogger logger, boolean validateSchema);

}