add validation of textsource directories