Updates file structure.