Output file for more than one connection