Saved connection matrix data to file