def open(path, mode, metainfo, useErrorhandler = true)
      file = File.open(path, mode)

      info = IOInfo.new(file, metainfo, true)
      info.useErrorhandler = useErrorhandler
      info.readFiberIoFacade.logger = @logger if @logger
      info.state = :connected
      @ioInfo[info.io] = info
    end
def open(path, mode, metainfo, useErrorhandler = true)
      file = File.open(path, mode)

      info = IOInfo.new(file, metainfo, true)
      info.useErrorhandler = useErrorhandler
      info.readFiberIoFacade.logger = @logger if @logger
      info.state = :connected
      @ioInfo[info.io] = info
    end
Open the specified file for the specified mode.