Reorganising data files