rearangeing file