Implement Directory validator