added filer.R. Not tested if works!!!