Fixing filefilter.py bugs.