> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tabular - Recursive import

> Import files recursively from folders by defining a File Pattern that selects matching files.

Importing data recursively enables to create a search pattern that will scan different folders and only select the relevant files. This can be extremely valuable when the data is spread across multiple folder. For example, you might have run hundreds of simulations, and each simulation creates a folder with results in different files, and you might want to select the same file for all simulations (for example, `results.csv`).

This is something that you can do in the platform. If you create a new **Import & Export >** [**Tabular**](/monolith-ai/1814202169/Tabular+-+Manipulator+configuration) step, switch to Import Type **Folders** to enable the recursive import mode.

A new field called **File Pattern** appears:

<img src="https://mintcdn.com/coreweave-dbfa0e8d/QRLrBgwZtalbZXz3/monolith-ai/_media/Tabular---Recursive-import-1.png?fit=max&auto=format&n=QRLrBgwZtalbZXz3&q=85&s=f9c3744cea08d28f54053b0118db3653" alt="Tabular step with Import Type set to Folders and the File Pattern field highlighted" width="480" height="354" data-path="monolith-ai/_media/Tabular---Recursive-import-1.png" />

In this mode you add folders instead of files to the datasets selection. Click on **Add/Edit datasets**. The file selection dialog opens. Folder entries have two clickable regions which behave differently:

1. If you click on the **folder icon** at the beginning of the entry the folder is selected.
2. If you click on the **folder name** you enter the folder and its content is shown. If you click.

<img src="https://mintcdn.com/coreweave-dbfa0e8d/QRLrBgwZtalbZXz3/monolith-ai/_media/Tabular---Recursive-import-2.png?fit=max&auto=format&n=QRLrBgwZtalbZXz3&q=85&s=22fc1ef0c6c600c9e61073e6b9f9b1bf" alt="File selection dialog with callouts marking the folder icon and folder name of a folder entry" width="480" height="329" data-path="monolith-ai/_media/Tabular---Recursive-import-2.png" />

<img src="https://mintcdn.com/coreweave-dbfa0e8d/QRLrBgwZtalbZXz3/monolith-ai/_media/Tabular---Recursive-import-3.png?fit=max&auto=format&n=QRLrBgwZtalbZXz3&q=85&s=6c7416f7b723815bfe2d3731e3368c45" alt="File selection dialog with two folders selected and listed under selected files" width="480" height="333" data-path="monolith-ai/_media/Tabular---Recursive-import-3.png" />

The importer goes through all selected folders and imports files which match the specified search pattern. The search pattern is specified in the field *File Pattern.*

## How does the search pattern work?

Basic patterns (selecting all files in folders):

|            |                                                                                                                               |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `*`        | Wildcard, represents any character. All files in the selected folder(s) are imported.                                         |
| `*.csv`    | All `.csv` files in the selected folder(s) are imported.                                                                      |
| `*/*.csv`  | The importer imports all `.csv` files from the selected folder and from all folders one folder level below the selected ones. |
| `**/*.csv` | The importer goes through all subfolders below the selected folders and imports all .csv files which are found.               |

In all examples above you can replace `.csv` by any file ending you want to import.

<img src="https://mintcdn.com/coreweave-dbfa0e8d/QRLrBgwZtalbZXz3/monolith-ai/_media/Tabular---Recursive-import-4.png?fit=max&auto=format&n=QRLrBgwZtalbZXz3&q=85&s=e7e3e451b59d88a7c6961636e04cf8c6" alt="File Pattern field with a wildcard search pattern entered" width="640" height="400" data-path="monolith-ai/_media/Tabular---Recursive-import-4.png" />

You can improve the search by including further Strings in the search pattern. The Wildcard character can be used multiple times within one search pattern:

|                       |                                                                                                               |
| --------------------- | ------------------------------------------------------------------------------------------------------------- |
| `**/findme_*.csv`     | Importing all `.csv` files in all subfolders below the selected folder which start with the string `findme_`. |
| `**/findme_*ABC*.csv` | Like above but the files also need to include the string `ABC`.                                               |
