Checks directory