My thought was that if the filter file has any duplicate entries, then the set would remove those. (why check the same filter twice).  In the case of this project, the filter file was completely unique, but I didn't know that until after I  wrote the code. Does that make sense?