public function directory($path, $name, $type, $page = 1) { if ($page > 1) { return $this->clean($path . '/' . $page); } return $this->clean($path); }