new LexicalAnalyzer(new InputStreamReader(
new FileInputStream(filePath), charset)));
Symbol result = a.parse() ;
return (Document) result.value ;
} catch (UnsupportedEncodingException e) {
throw new KameleonException(e.getMessage()) ;
} catch (FileNotFoundException e) {
throw new KameleonException(e.getMessage()) ;
} catch (Exception e) {
throw new KameleonException(e.getMessage()) ;
}// try
}