Update resfilter.py