Fix filtering static files. Close #239