chimp restructure outfile