- taking care of trailing \ in path