filtering out critical files