I am trying to read a file from a directory 2 folders lower than the script. The code works fine when the file is in the same directory but when its lower, it fails every time.
You should just be able to use ../../ at the beginning of the path to go up two directories, unless the permissions on those directories are set incorrectly.
EDIT: as cHao said, adding / to the path will go to the root of the file system, which will almost certainly result in a permission error.