# File ../lib/fox/iterators.rb, line 194
    def FXFileStream.open(filename, save_or_load, container=nil) # :yields: theFileStream
      fstream = FXFileStream.new(container)
      status = fstream.open(filename, save_or_load)
      if block_given?
        begin
          yield fstream
        ensure
          fstream.close
        end
      else
        fstream
      end
    end