Add path parents util helper
Add find upwards helper