Added how to specify a filter function to the readme