changing layout and structure of files