Path parsing