# File tab

![File tab](/files/MSfZ0gsjbi15r4ct3Vyo)

In this tab, specify the environment and other details for the file you want to input.

| Option                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Environment**        | <p>Indicate the file system or specific cluster on which the item you want to input can be found. Options are:</p><ul><li><strong>Local</strong></li></ul><p>Specifies that the item entered in the <strong>File/Folder</strong> field is in a file system that is local to the PDI client (Spoon).</p><ul><li><strong>\<Static></strong></li></ul><p>Specifies that the item entered in the <strong>File/Folder</strong> field should use the path name in that field. Use this option if you already know a file path and you want to copy and paste it into the window.</p><ul><li><strong>S3</strong></li></ul><p>Specifies that the item entered in the<strong>File/Folder</strong> field is in a file system that is on the S3 file system.</p><ul><li><strong>\<Hadoop Cluster Name></strong></li></ul><p>Specifies that the item entered in the <strong>File/Folder</strong> field is in the cluster indicated.</p> |
| **File/Folder**        | Specify the location and/or name of the text file to read. Click the Ellipsis (...) button to navigate to the source file or folder in the [VFS browser](/pdia-data-integration/10.2-data-integration/data-integration-perspective-in-the-pdi-client/virtual-file-system-browser/vfs-browser-connecting-to-virtual-file-systems.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **Wildcard (RegExp)**  | Specify the regular expression you want to use to select the files in the directory specified in the **File/Folder** field. For example, you may want to process all files that have a .txt output. See [Selecting a file using regular expressions](/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/hadoop-file-input-cp-main-page/options-hadoop-file-input-reuse/file-tab-hadoop-file-input-kettle/selecting-a-file-using-regular-expressions-kettle.md) for examples of regular expressions.                                                                                                                                                                                                                                                                                                                                                                                   |
| **Required**           | Indicate if the file is required.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Include subfolders** | Indicate if subdirectories (subfolders) are included.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |


---

# 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.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/hadoop-file-input-cp-main-page/options-hadoop-file-input-reuse/file-tab-hadoop-file-input-kettle.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.
