modify file structure