xstream = new XStream(new StaxDriver());
try {
reader = new BufferedReader(new FileReader(toolPath));
StaxDriver xmlParser = new StaxDriver();
HierarchicalStreamReader xmlPeeker= xmlParser.createReader(reader);
String tool_id= xmlPeeker.getAttribute("id");
reader.close();
return tool_id;
} catch(StreamException e){
System.err.println("Error loading "+ relativePath);