added logic for conversion of elastic connections from xml format to txt
format