Restruct the files.