# FileInterceptor

**Kind:** Function

**Source:** [`packages/platform-express/multer/interceptors/file.interceptor.ts`](https://github.com/nestjs/nest/blob/master/packages/platform-express/multer/interceptors/file.interceptor.ts#L25)

**Part of:** [Platform Express](subsystem-packages-platform-express)

## Signature

```ts
function FileInterceptor(fieldName: string, localOptions: MulterOptions): Type<NestInterceptor>
```

## Parameters

| Name | Type |
|---|---|
| `fieldName` | `string` |
| `localOptions` | `MulterOptions` |

**Returns:** `Type<NestInterceptor>`

## Relationships

- IMPORTS → `CallHandler`
- IMPORTS → `ExecutionContext`
- IMPORTS → `Inject`
- IMPORTS → `mixin`
- IMPORTS → `NestInterceptor`
- IMPORTS → `Optional`
- IMPORTS → `Type`

## Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (1)

- `AppController` — `sample/29-file-upload/src/app.controller.ts`:15
