---
title: File variables
description: Retrieve file information about any page that is backed by a file.
categories: [variables]
keywords: []
menu:
  docs:
    parent: variables
    weight: 20
weight: 20
aliases: [/variables/file-variables/,/variables/files/]
---

{{% include "variables/_common/consistent-terminology.md" %}}

To retrieve file information about any page that is backed by a file, see the documentation for the [`File`] method on a `Page` object.

[`File`]: /methods/page/file
