restored path variable reference, necessary to properly handle recursion inside load() method