# How to save a file to a specific folder, depending on the file name

**URL:** <https://forum.bubble.io/t/how-to-save-a-file-to-a-specific-folder-depending-on-the-file-name/315295>\
**Category:** Blockspring\
**Created:** [March 31, 2024, 1:18pm UTC](https://forum.bubble.io/t/how-to-save-a-file-to-a-specific-folder-depending-on-the-file-name/315295 "2024-03-31T13:18:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gksruf813](https://avatars.discourse-cdn.com/v4/letter/g/8797f3/32.png) [@gksruf813](https://forum.bubble.io/u/gksruf813)\
**Post date:** [March 31, 2024, 1:18pm UTC](https://forum.bubble.io/t/how-to-save-a-file-to-a-specific-folder-depending-on-the-file-name/315295/1 "2024-03-31T13:18:19Z")

</div>

Is there a way to go to a specific DB based on the file name after uploading a specific file in bulk?  
For example, files that include the name “marketing” in file names such as “YouTube Marketing” and “Instagram Marketing” are considered to be moved to the “marketing” DB.

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [April 1, 2024, 5:26am UTC](https://forum.bubble.io/t/how-to-save-a-file-to-a-specific-folder-depending-on-the-file-name/315295/2 "2024-04-01T05:26:44Z")

</div>

Yes, but likely not off the upload function…instead need to run another function after upload to apply the values to the correct data type based on the values name.
