File re-arrangement