# File tab

![File tab](https://2745965000-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvZoINBz5C5WnDZQlbOJQ%2Fuploads%2Fgit-blob-2ba60c27d7f32179ab25fcf7a46668565840ffbe%2FPDITransStep_HadoopFileInput_FileTab.png?alt=media)

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](https://docs.pentaho.com/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).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **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](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/selecting-a-file-using-regular-expressions-kettle) for examples of regular expressions.                                                                                                                                                                                                                                                                                                                                                              |
| **Required**           | Indicate if the file is required.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Include subfolders** | Indicate if subdirectories (subfolders) are included.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
