writeDatasetToFile stub