write csfterm results to file.