Updating file structure