Use right component dir + some refactoring.
joinWith → joinPathWith.