> For the complete documentation index, see [llms.txt](https://www.csvpath.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.csvpath.org/topics/higher-level-topics/organizing-inbound-data/how-data-progresses-through-csvpath-framework/staging/registration-api-and-cli/loading.md).

# Loading

<figure><img src="https://2402701329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6wzqgDHj9mZbFxabiEbc%2Fuploads%2FTcKfh2ciA78sdn4AQNPk%2FScreenshot%202025-03-29%20at%201.47.13%E2%80%AFPM.png?alt=media&amp;token=2c832a70-fc96-4b1a-8e6f-09c359b72731" alt=""><figcaption><p>Staging and loading</p></figcaption></figure>

Staging source data files is an easy task. You can register a single file name, a directory, or a JSON file containing name-to-file mappings.

```python
from csvpath import CsvPaths
CsvPaths().file_manager.add_named_file( name="orders", path="./assets/files/orders.csv" )
```

Loading your csvpaths in a named-paths group is similarly easy. And again the options are loading a file with any number of paths, a directory of .csvpath files, or a JSON file defining the named-paths group.

```python
from csvpath import CsvPaths
CsvPaths().paths_manager.add_named_paths_from_file( name="invoices", file_path="./assets/monthly-invoice-validations.csvpaths )
```
