try {
FileInputStream fis = new FileInputStream(file);
log.debug("Building document from file: "
+ file.getAbsolutePath());
Document doc = docFactory.createDocument();
builder.buildDocument(fis, doc);
return doc;
} catch (FileNotFoundException e) {
log.error("File in use or not found");
return null;
} catch (DocumentHandlerException e) {