first check working: CheckDirectory