Replace name by path