Added Tools\Files::IsValidDir method