omit directory name from output path