# File

> A **File** field is used to attach a file to a record field of an entity.

A **File** field is used to attach a file to a record field of an entity.

:::important
The maximum size of a single file cannot exceed 10 MB, otherwise unexpected behavior might occur.
:::

## Details

Below is an overview of the details that can be specified to define a **File** field.

| Property | Description | Required | Default Value |
| --- | --- | --- | --- |
| Description | Enables you to enter a short text to describe the purpose of the **File** field.The **Description** is displayed in **Fields** tab. | No |  |

## Representation in UiPath<sup>®</sup> Studio

A file object named `UiPath.DataService.Definition.EntityAttachment` is returned on the record call with the following parameters:

* Name
* Path
* Size
* Type

A null object is returned if no file is present.
