moves file structure around and updates