# $file - File Fields

The $file keyword allows us to attach a file to an instance field. This can be useful for associating any piece of data - such as a PDF or Word document, an image in the JPEG or PNG formats, a MP3 audio file or even a video - to that given instance.

# Usage:

$file

# Examples:

In the example displayed in the images below, we will add a field that will allow to upload a file



The video included below shows how to make use of the $field keyword in your definitions and their instances.