db: remove dups from base

Need to search word not only by name, but by file also