--- title: "File folder as ETL/ELT source" slug: "etl-source-file-folder" status: "update" updated: 2026-11-09T08:31:30Z published: 2026-11-09T08:31:30Z canonical: "docs.lobstersoftware.com/etl-source-file-folder" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # File folder as ETL/ELT source With the source type **File folder**, you generate a list from the files in a directory. Each file name becomes one data row. You then process these data rows in the target data or one file at a time in a child task. Typical use cases: - Batch processing of all files in an incoming directory. - Iterating over a set of files with one child task per file. - Taking inventory of a directory without processing the file contents. ## Settings ![Configuration dialog of the ETL/ELT source File folder with the numbered input fields one through six.](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/file_folder-version-1-modificationdate-1749450162312-api-v2.png) | No. | Field | Description | | --- | --- | --- | | (1) | **File folder** | Lobster searches this directory for files. The search is not recursive. You can also specify a URL. **Example:** `https://example.com/path` | | (2) | Icon to the right of (1) | Opens the selection of ETL/ELT variables. | | (3) | **File filter** | Filters files by name. By default, Lobster expects a glob pattern. Use the prefix `regex:` to apply a regular expression. **Examples:** - `*.txt` returns all files with the extension `.txt`. - `regex:^report_\d+\.csv$` returns all files that match the regular expression. - Empty or `*.*` returns all files. | | (4) | **Sorting** | Sorts the files by file name or modification date, ascending or descending. | | (5) | **Test query/settings** | Runs a test query and returns a list of the matching files. | | (6) | **ETL/ELT field file name** **ETL/ELT field path and file name** | Defines the names of the ETL/ELT fields that you use to read the file name or full path in target data or child tasks. **Examples:** `$FILENAME` and `$PATH_AND_FILE`. | ## How it works Lobster builds a list of the files in the specified folder. The filter and sorting options shape the result. Each file name becomes one data row. You have two options for processing the data rows: - **Processing in the target data:** You access the file name and path through the ETL/ELT fields defined in (6). - **Processing in a child task:** The parent task reads the file names. The child task processes one file at a time. Specify the file name in the child task using one of the ETL/ELT fields from (6). Example path in the child task: ```plaintext ./webapps/root/upload/myfiles/$FILENAME ``` **ETL (Extract, Transform, Load)** is the traditional data integration workflow. Data is collected from sources and sent to a **staging area** to be cleaned, formatted, and enriched, and then loaded into a destination. It ensures data quality and security before storage, making it ideal for smaller, structured datasets. **ELT (Extract, Load, Transform)** is a data integration process that pulls raw data from a source and loads it directly into a target system (such as a cloud data warehouse) before processing it. This leverages the power of the target to perform transformations, enabling faster ingestion of big data.