filtering synset output file