add ability to pre-filter messages based on file name

bugz: 26499