Write Connections to File Method

def _writeConnections(self, connections, fileObject):
        """
        Write Connections to File Method
        """
        for connection in connections:
            fileObject.write('CONNECT  %s  %s  %s\n' % (
                connection.slinkNumber,
                connection.upSjuncNumber,
                connection.downSjuncNumber))