replacePathUtil (still coding...)