# File tab

Use the **Files** tab to select input files.

![Microsoft Access input step File tab](/files/Nu1zA1UUQRPEP2JlleoI)

| Option                              | Description                                                                                                                                                                                                                                                                                                                                                                  |
| ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Filename is defined in a field?** | Select the checkbox to accept filenames from previous steps.                                                                                                                                                                                                                                                                                                                 |
| **Get filename from field**         | Select the field that will contain the filenames at runtime from the list.                                                                                                                                                                                                                                                                                                   |
| **File or directory**               | Specifiy the location, or location and name of the input database file. Click **Add** or **Browse** to add the file, directory, or wildcard combination to the **Selected files** table below.                                                                                                                                                                               |
| **Regular Expression**              | Specifiy the regular expression you want to use to select the files in the **File or directory** field.                                                                                                                                                                                                                                                                      |
| **Exclude Regular Expression**      | Specifiy the regular expression you want to use to exclude the files in the **File or directory** field                                                                                                                                                                                                                                                                      |
| **Selected files**                  | View files and directories that you selected. You can select a file or directory and click **Edit** to update the wildcards that were used to include or exclude the file or directory, specify whether a file or directory is required, and select whether to include subfolders in a directory. If a required file is required and it is not found, an error is generated. |
| **Show filename(s) button**         | Click to display a list of all files to load, based on the file definitions settings defined in the File tab.                                                                                                                                                                                                                                                                |


---

# 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/microsoft-access-input/options-microsoft-access-input/file-tab-microsoft-access-input.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.
