Generic Output Location Write to File Method

def _write(self, session, openFile, replaceParamFile):
        """
        Generic Output Location Write to File Method
        """
        # Retrieve output locations
        locations = self.outputLocations

        # Write lines
        openFile.write('%s\n' % self.numLocations)

        for location in locations:
            openFile.write('%s %s\n' % (location.linkOrCellI,
                                        location.nodeOrCellJ))