String str = reader.readLine();
str += "</FILE>";
reader.reset();
byte[] b = str.getBytes("UTF-8");
VTDGen vg = new VTDGen();
vg.setDoc(b);
vg.parse(false);
VTDNav vn = vg.getNav();
require(vn.toElement(VTDNav.ROOT));
String fileId = vn.toString(vn.getAttrVal(AgigaConstants.FILE_ID));
return fileId;
}