So the relevant bits of these files look like:
\begin_layout Chunk <<TEST>>= \end_layout \begin_layout Chunk 2+2 \end_layout \begin_layout Chunk @ \end_layout and: \begin_layout Standard \begin_inset Flex Chunk status open \begin_layout Plain Layout 2+2 \end_layout \end_inset \end_layoutIs it correct, then, to remove the first and last chunks, and leave only the middle bit?
Richard