requiring directory to be present