public function deleteAsset(AssetFileModel $asset)
    {
        $settings = $this->getSettings();
        
        try {
            $this->getS3Bucket()->rm(trim($settings->bucketPath . '/' . $asset->filename, '/'));
        } catch (\Exception $e) {
            throw new CraftException($e->getMessage());
        }
    }