add support for path resolution, this will be used to get canonical path. More info at `man path_resolution`