bugfix: do not add bogus words with no filename