Reorganization of data/history files