Optimize untar process