The way I have done it above does not explain the output file 2 posts above.

Pete