public function open($hash) { if (($file = $this->file($hash)) == false || $file['mime'] == 'directory') { return false; } return $this->_fopen($this->decode($hash), 'rb'); }