Added option to save the data before and after the transform.

The file is such that it can be an input to record.
Few more things to ignore.