filter required files