Added optional param to specify output filename.

Updated python scripts with input parameter to specify the output
parameter. Not necessary, default is still available.