Getting resource which is in the parent root directory, and making sure that is is always relative to the current file and not the current working directory.