Added saving network connections to file