restruct file