saveCaseData
saves an object of type caseData to file
saveCaseData(caseData, file)
An object of type CaseData
as generated using
getDbCaseData
.
The name of the file where the data will be written. If the file exists it will be overwritten.
The data will be written to the file specified by the user.