public void loadData(IRSession session, String path, String dataset)throws Exception {
InputStream input = new FileInputStream(path+"/"+dataset);
if( harnessVersion() < 2){
Mapping mapping = session.getMapping();
DataMap datamap = session.getDataMap(mapping,null);
datamap.loadXML(input);
mapping.loadData(session, datamap);
this.datamap = datamap;
}else{
AutoDataMap autoDataMap = session.getRuleSet().getAutoDataMap(session, mapName());