# Adding many csv file with add\_batch\_definition\_path

**URL:** https://discourse.greatexpectations.io/t/adding-many-csv-file-with-add-batch-definition-path/2179
**Category:** GX Core Support
**Created:** [April 10, 2025, 9:14am UTC](https://discourse.greatexpectations.io/t/adding-many-csv-file-with-add-batch-definition-path/2179 "2025-04-10T09:14:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![miroslav](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@miroslav](https://discourse.greatexpectations.io/u/miroslav)
#### Post date: [April 10, 2025, 9:14am UTC](https://discourse.greatexpectations.io/t/adding-many-csv-file-with-add-batch-definition-path/2179/1 "2025-04-10T09:14:12Z")

</div>

I have many csv files in one folder that I want to test individually. Now, I am looping through file list and adding one batch definition per path with  
batch\_definition = file\_csv\_asset.add\_batch\_definition\_path()  
This, however, takes ~15 mins for 1500 files. Is there a way to achieve the same goal by adding all file in folder in one go? Thanks!
