Should it be `elif current_mode == FileFilter.PUBLISHES_MODE` and then have an else that raises an exception saying "unknown mode"? Feels safer if we ever decide to add another filter mode...