Put file in order