get path by path