history files clean up