remove uneeded files, use trepn to measure time/performance