Checked whether directories contain correct data