Updated to always copy to a new file