adding check for txt file in WD