read the data out of the data dir for plotter