Adding new filter on no. of masterfiles.

Fixes issue #123.