# File

> 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.
:::

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.

 <colgroup>
  <col/>
  <col/>
  <col/>
  <col/>
 </colgroup>
 
  
     Property  
     Description  
     Required  
     Default Value  
  
 
 
  
     Description  
     Enables you to enter a short text to describe the purpose of the File field. Note: The Description is displayed in Fields tab. 
     No  
    &nbsp; 
  
 

## 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.
