stripping down to required files