Saves an object of type CohortMethodData to a file.
saveCohortMethodData(cohortMethodData, file)
An object of type CohortMethodData as generated using
getDbCohortMethodData()
.
The name of the file where the data will be written. If the file already exists it will be overwritten.
Returns no output.