public function delete()
    {
        $meta = $this->getMetaData();

        if ($meta->isImage() || !$meta->isFile()) {
            $service = new ThumbService($this->package);
            $service->delete($meta->getPath(), !$meta->isFile());
        }

        if ($meta->isFile()) {
            return $this->storage->delete($meta->getPath());
        }

        return $this->storage->deleteDirectory($meta->getPath());
    }