mods struct2file