s/basename/dirname/