[tor-commits] [stem/master] refactor for extensibility, easier to exclude file formats from check for