# UploadFileInput

> Input in domain **Assets**

- HTML: [UploadFileInput.html](UploadFileInput.html)
- Raw SDL: [UploadFileInput.sdl](UploadFileInput.sdl)
- Covered by: [llms.txt](../llms.txt)

## Input fields

- `filename`: `String!` — `File` name. This value will be passed on to the `fileId` input variable used in file mutations such as `createAsset`, `replaceAsset`, `createAttachment` or `addAssetPreviewImage`.
- `size`: `BigInt!` — `File` size in bytes. Value must be a positive integer up to 5TB.
- `chunkSize`: `BigInt` = `104857600` _(deprecated)_ — `File` chunk size in bytes. Value must be integer between 5MB and 1GB. Please, consider using bigger chunk sizes for huge files to prevent issues.
