renamed IO struct member name to filename