> For the complete documentation index, see [llms.txt](https://appmaster.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://appmaster.gitbook.io/docs/business-logic/block/functions/file/get-file.md).

# Get File

Returns the contents of a given file together with its metadata.

### Flow Connections <a href="#flow-connections" id="flow-connections"></a>

* \[Input] In - starts the block's execution.
* \[Output] Out - activates when the block has finished its execution.

### Data Connections <a href="#data-connections" id="data-connections"></a>

* \[Input] File (file) - file to be read.
* \[Output] Contents (text) - contents of the file.&#x20;
* \[Output] Name (string) -  name of the file together with the extension.
* \[Output] Path (string) - system path to the uploaded file.
* \[Output] Hash (string) - SHA-256 hash of the file.
* \[Output] Size (text) - size of the file in bytes.&#x20;
* \[Output] Created At (date & time) - creation date & time.&#x20;
* \[Output] Updated At (date & time) - last update date & time.&#x20;
