public Document readFile(String filepath) { try { xmlDoc = xmlCon.readFile(filepath); return xmlDoc; } catch (Exception e) { log.error("exception in readFile():\n", e); e.printStackTrace(); } return null; }