public Map < String , Object > processFile ( File file ) { ParserEngine engine = Engines . get ( FileUtil . fileExt ( file ) ) ; if ( engine == null ) { LOGGER . error ( "Unable to find suitable markup engine for {}" , file ) ; return null ; } return engine . parse ( config , file ) ; }
Process the file by parsing the contents .