directory existence test