Changes file structure