Skeleton code for parsing path.