# Just a Small Question: Load path

**URL:** <https://discourse.processing.org/t/just-a-small-question-load-path/20814>\
**Category:** Beginners\
**Created:** [May 13, 2020, 6:45am UTC](https://discourse.processing.org/t/just-a-small-question-load-path/20814 "2020-05-13T06:45:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HumanoidX](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/humanoidx/32/8506_2.png) [@HumanoidX](https://discourse.processing.org/u/HumanoidX)\
**Post date:** [May 13, 2020, 6:45am UTC](https://discourse.processing.org/t/just-a-small-question-load-path/20814/1 "2020-05-13T06:45:17Z")

</div>

Hi everyone, is there a way that I can load a file in a folder?  
for example:

```auto
  randomString = loadString("somerandomfolder\anotherrandomfolder\finallythestringiwant.txt");

```

Just like Minecraft data files, there is a lot of subfolders.

---

<div class="post-metadata">

**Author:** ![tribblesontoast](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@tribblesontoast](https://discourse.processing.org/u/tribblesontoast)\
**Post date:** [May 13, 2020, 11:05pm UTC](https://discourse.processing.org/t/just-a-small-question-load-path/20814/2 "2020-05-13T23:05:36Z")

</div>

I’m assuming you are trying to get strings out of a textfile by your example.

Try the [loadStrings()](https://processing.org/reference/loadStrings_.html) method.

---

<div class="post-metadata">

**Author:** ![HumanoidX](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/humanoidx/32/8506_2.png) [@HumanoidX](https://discourse.processing.org/u/HumanoidX)\
**Post date:** [May 15, 2020, 4:26am UTC](https://discourse.processing.org/t/just-a-small-question-load-path/20814/3 "2020-05-15T04:26:50Z")

</div>

No, no, no. I don’t mean that. I mean like I got a folder called “something” in my data folder, and I have a text file in my something folder. Like this…

.codefile  
. . codefile.pde  
. . data  
. . . . anotherthing.txt  
. . . . something  
. . . . . .thing.txt

I know I can load anotherthing.txt, but how to load the thing.txt?  
Or I simply can’t?  
Are there ways I can load that text file?  
Sorry for the late reply, anyway.

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [May 15, 2020, 5:03am UTC](https://discourse.processing.org/t/just-a-small-question-load-path/20814/4 "2020-05-15T05:03:23Z")

</div>

`final String[] things = loadStrings("something/thing.txt");`

[Processing.org/reference/loadStrings\_.html](http://Processing.org/reference/loadStrings_.html)

---

<div class="post-metadata">

**Author:** ![HumanoidX](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/humanoidx/32/8506_2.png) [@HumanoidX](https://discourse.processing.org/u/HumanoidX)\
**Post date:** [May 15, 2020, 5:45am UTC](https://discourse.processing.org/t/just-a-small-question-load-path/20814/5 "2020-05-15T05:45:36Z")

</div>

Wow! It really works! Thanks!!!
