chickadee » filepath » replace-file-name

replace-file-name PATH FILEprocedure

Replaces the filename component of a path with the given one.