use $nopath to remove the path
$nopath(path\filename)