filtering lexer guesses by filename