replace String to Path in Config