add 'optional' attribute to io struct (use case: if an output file is not generated ant it is 'optional', not to fail the workunit)