Modifies file structure