extract wsplit/csplit, and rename things