restore file structure