add id2ptree arg to return relative path
Merge pull request #2 from lbjay/master

add id2ptree arg to return relative path