Delete unneded files and lines