Reorganizes file structure