saving output to new file in order to preserve source for further editing