use new ews under-directory checking function