reorganizes files