/**
  * @return FileInputStream
  **/
 private function getStream()
 {
     if (!$this->stream) {
         Assert::isNotNull($this->queue->getFileName());
         $this->stream = FileInputStream::create($this->queue->getFileName())->seek($this->queue->getOffset());
     }
     return $this->stream;
 }
 public function doubleClose()
 {
     with($stream = new FileInputStream($this->file));
     $stream->close();
     $stream->close();
 }