New WriteConditionsFile() writes a conditions text file with given names and values.