wip validation logic for folder creation.