I agree with Chris, please move this to the treewalk.filter package as its own top-level class.  You'll need to add an int argument to the constructor so the caller can pass the index of the WORKDIR tree into the filter.

Also, a better name might be NotIgnoredFilter since it selects entries that are not ignored.