check dir

example