This should be preferred over the home baked solution in utils.read_filter_file
utils.read_filter_file