---
title: "exists · RUAL Documentation"
description: "Checks if the given files exist."
canonical: https://docs.rual.nl/block-types/files/file_exists
language: en
---

# exists

This block is part of the [`files`](https://docs.rual.nl/block-types/files) group and was last modified in core [`v12.0.7`](https://docs.rual.nl/core-versions/120007).

Checks if the given files exist.

- flow `flow`

- files required `file`

- flow `flow`

- success `condition`

- error `value`

- existing `file`

- missing `file`

A typical wiring for [exists](https://docs.rual.nl/block-types/files/file_exists): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [get file from assets](https://docs.rual.nl/block-types/files/file_from_assets) feeds the `file` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the exists block: typical wiring for exists.](https://docs.rual.nl/canvas-examples/file_exists.png)

### Version history

Introduced in [`v12.0.7`](https://docs.rual.nl/core-versions/120007).
