read and write timeseries