util check dirname