# GenericFile - storefront - OBJECT Version: 2025-01 ## Description The generic file resource lets you manage files in a merchant’s store. Generic files include any file that doesn’t fit into a designated type such as image or video. Example: PDF, JSON. ### Access Scopes `unauthenticated_read_product_listings` access scope. ## Fields * [alt](/docs/api/storefront/2025-01/scalars/String): String - A word or phrase to indicate the contents of a file. * [id](/docs/api/storefront/2025-01/scalars/ID): ID! - A globally-unique ID. * [mimeType](/docs/api/storefront/2025-01/scalars/String): String - The MIME type of the file. * [originalFileSize](/docs/api/storefront/2025-01/scalars/Int): Int - The size of the original file in bytes. * [previewImage](/docs/api/storefront/2025-01/objects/Image): Image - The preview image for the file. * [url](/docs/api/storefront/2025-01/scalars/URL): URL - The URL of the file. ## Connections ## Related queries ## Related mutations ## Related Unions * [MetafieldReference](/docs/api/storefront/2025-01/unions/MetafieldReference) Returns the resource which is being referred to by a metafield. ## Examples