Retrieving interface name and storing in connectionsList file