add *.swp
test filter function