You will encounter that quite a bit with the guns. You might also find a given gun listed multiple times in several files each. There are a couple things you could try to help you. Extremely powerful is
010 Editor, which can do scripting. Hopefully, you would do better than I do with that
Then there is the less-powerful
Notepad++. In either, or some other editors, you can "Search within files", looking for a given name, confining your search to the Library folder, and its sub-folders.