implemented ability to search wordfiles