Added Validate Directory Method in Model.