add new method to get relative path for pairtreze objects