Replace Val File Write to File Method

def _write(self, session, openFile, replaceParamFile):
        """
        Replace Val File Write to File Method
        """
        # Write lines
        for line in self.lines:
            openFile.write(line.contents)