Add output of data to file from cosab.asy