update exportFileForStruct(add augument)