Updating Dynamic Saving of files for Diff feature