Removing useless code and comments in Filters.py
Update print statements to logging