Reorganizes file structure.