added logger and updated catch block
deleted unnecessary comment
added static to final field
added logger and updated catch blocks
added logger and checking is scanner object is null
added logger and updated catch block
added closing scanner from FindXML object