creatind time series file