# File Exists

### Description

The `File exists` action verifies that a specified file exists and can be reached from the machine on which Apache Hop is running.

You must provide the file name.

Hop returns a True or False value depending on whether the file exists.

The File Exists action can be an easy integration point with other systems.

For example, suppose you have a three-part data warehouse load process.

The first part runs in PERL.

You have batch scripts that accesses data from a remote location, performs first-level row processing, and outputs the data to a specified directory.

You do not want to start the workflow until this is done, so you put the workflow on a scheduler.

As soon as the task is complete, the file is placed in a well-known location so that the "file exists." That is the signal that launches the workflow for final processing.

### Options

| Option         | Description                                                                                                                         |
| -------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| Action name    | The name of the workflow action.                                                                                                    |
| Filename field | Specify the filename and path of the file to verify. Click Browse to navigate to the source file or folder through the VFS browser. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/workflows/actions/fileexists.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
