Additional checkDir functionaity for testing added, continuing path testing for errors