Why the filenameOpen switch? I always use:
IF %open(whatever); CLOSE whatever; ENDIF;
I guess the switch would be more efficient as one wouldn't have to go
through the %bif's code. Is there any other reason/advantage?