save to new file before overriding the old