strip unnecessary files