I have several javas, but I want one of them to read a text file located in this folder called "projects", which is the parent of its parent of its parent (java\folder\folder1\projects)

the "folder" is a temporary folder for my source code while the projects is for all the files in general.

Would I have to use something like this:
Java Code:
(((this.getParent()).getParent()).getParent())
to declare a directory variable to the projects folder, then access the text file with BufferedReader? Sorry for this basic stuff, I have to be sure :/