bad style, but reliable performance - switching to unix extraction tools