How to access files local to caller?

There is an older post about this problem:

In there I showed a hacky workaround that may work for your situation: Why are paths always relative to the current file? - #5 by SillyFreak