# Liquid Objects: generic_file
A file from a `file_reference` type [metafield](/docs/api/liquid/objects/metafield) that is neither an image or video.
> To learn about metafield types, refer to [Metafield types](https://shopify.dev/apps/metafields/types).
## Properties
### alt
**Type:** [string](https://shopify.dev/docs/api/liquid/basics#string)
"The alt text of the media."
### id
**Type:** [number](https://shopify.dev/docs/api/liquid/basics#number)
"The ID of the file."
### media_type
**Type:** [string](https://shopify.dev/docs/api/liquid/basics#string)
"The media type of the model. Always returns `generic_file`."
### position
**Type:** [number](https://shopify.dev/docs/api/liquid/basics#number)
Indicates where the media appears in the [`product.media` array](https://shopify.dev/docs/api/liquid/objects/product#product-media). Returns `nil` when the source originates from a [`file_reference` metafield](https://shopify.dev/apps/metafields/types).
### preview_image
**Type:** [image](https://shopify.dev/docs/api/liquid/objects/image)
"A preview image for the file."
### url
**Type:** [string](https://shopify.dev/docs/api/liquid/basics#string)
"The [CDN URL](https://shopify.dev/themes/best-practices/performance/platform#shopify-cdn) for the file."
## Example
```json
{
"alt": null,
"id": 21918386454593,
"media_type": "generic_file",
"position": null,
"preview_image": {},
"url": "//polinas-potent-potions.myshopify.com/cdn/shop/files/disclaimer.pdf?v=9043651738044769859"
}
```