Now able to write the changed contents of a file to a new file. It works by specifying a prefix that will be used to create a new filename on the command line