> For the complete documentation index, see [llms.txt](https://cross-packages.gitbook.io/cross-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cross-packages.gitbook.io/cross-api/providers/storage.md).

# Storage

A file storage implementation.

## Available:

* Disk
* Amazon S3
* Fake

## Tip:

Pass the respective `filename` you want to save into your service.

```typescript
await exampleService.execute(request.file?.filename);
```

## Methods:

**SaveFile:** Saves a file in its respective implementation.

```typescript
await this.storageProvider.saveFile(filename);
```

**DeleteFile:** Delete a file in its respective implementation.

```typescript
await this.storageProvider.deleteFile(filename);
```

***
