in reply to Using output again without printing
Why not keep the two processes as separate scripts and then pipe the output of the first as the input to the second:
clean < hugeFile | parse > whatever [download]