Mini optimization for read_directory (use only deduplicated stopwords)