Removed ifilter import due to python3 error.