file re-arrangement