Added an mflags arg to get_filter_tok(), add_filter_file(), and