# Get main processing file to have access to other files in other directories

**URL:** <https://discourse.processing.org/t/get-main-processing-file-to-have-access-to-other-files-in-other-directories/38667>\
**Category:** Beginners\
**Created:** [September 7, 2022, 12:40pm UTC](https://discourse.processing.org/t/get-main-processing-file-to-have-access-to-other-files-in-other-directories/38667 "2022-09-07T12:40:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theis](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@Theis](https://discourse.processing.org/u/Theis)\
**Post date:** [September 7, 2022, 12:40pm UTC](https://discourse.processing.org/t/get-main-processing-file-to-have-access-to-other-files-in-other-directories/38667/1 "2022-09-07T12:40:08Z")

</div>

Hey, I would like to know if it is possible to have the main processing file be able to read from other processing files in subfolders?

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [September 7, 2022, 1:03pm UTC](https://discourse.processing.org/t/get-main-processing-file-to-have-access-to-other-files-in-other-directories/38667/2 "2022-09-07T13:03:11Z")

</div>

Do you want to integrate pde files from different source folders?

---

<div class="post-metadata">

**Author:** ![Theis](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@Theis](https://discourse.processing.org/u/Theis)\
**Post date:** [September 7, 2022, 1:14pm UTC](https://discourse.processing.org/t/get-main-processing-file-to-have-access-to-other-files-in-other-directories/38667/3 "2022-09-07T13:14:51Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/3/8/38f537cc0f608b2aa6744f323542dace4979bb2b.png)  
No what I would like to know was if it was possible to access the processing files in util from the main processing file DDU.

---

<div class="post-metadata">

**Author:** ![CapyGuy1](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/capyguy1/32/16896_2.png) [@CapyGuy1](https://discourse.processing.org/u/CapyGuy1)\
**Post date:** [September 7, 2022, 7:26pm UTC](https://discourse.processing.org/t/get-main-processing-file-to-have-access-to-other-files-in-other-directories/38667/4 "2022-09-07T19:26:14Z")

</div>

There is no need to do this (especially since you can’t), a simple workaround is to simply name each file according to how they should be sorted.  
For example: catA-abc. catA-xyz, catB-abc, catB-xyz, so on and so forth.

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [September 7, 2022, 8:41pm UTC](https://discourse.processing.org/t/get-main-processing-file-to-have-access-to-other-files-in-other-directories/38667/5 "2022-09-07T20:41:23Z")

</div>

In my understanding this is not possible.  
Instead, just move your pde files in the same folder as the main file.

You could rename the files / tabs as utilButton, utilCharacter etc.  
so that they are standing together in the tabs of the IDE.

**a library**

The idea to have utility files that different Sketches use together is neat. This could be done by writing a library.
