Create validation for new directory