Index: /tags/ipp-20100701/PS-IPP-Config/lib/PS/IPP/Config.pm
===================================================================
--- /tags/ipp-20100701/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 28900)
+++ /tags/ipp-20100701/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 28901)
@@ -673,4 +673,21 @@
 }
 
+# delete existing destreak backup file if it exists
+sub delete_destreak_backup_file
+{
+    my $self = shift;
+    my $name = shift;
+    my $force = shift;
+
+    my $dir = dirname($name);
+    my $base = basename($name);
+    my $backup =  "$dir/SR_$base";
+
+    if ($self->file_exists($backup)) {
+        return $self->file_delete($backup, $force);
+    }
+    return 1;
+}
+
 # redirect stderr and stdout streams to a file
 sub redirect_output
Index: /tags/ipp-20100701/ippScripts/scripts/chip_imfile.pl
===================================================================
--- /tags/ipp-20100701/ippScripts/scripts/chip_imfile.pl	(revision 28900)
+++ /tags/ipp-20100701/ippScripts/scripts/chip_imfile.pl	(revision 28901)
@@ -23,4 +23,5 @@
 use PS::IPP::Config 1.01 qw( :standard );
 use File::Temp qw( tempfile );
+use File::Basename;
 
 use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt );
@@ -125,4 +126,11 @@
     $outputStats .= '.update';
     $traceDest .= '.update';
+    # make sure that any lingering destreak backup files are gone
+    $ipprc->delete_destreak_backup_file($outputImage)
+        or &my_die("failed to delete existing destreak backup image file", $exp_id, $chip_id, $class_id, $PS_EXIT_UNKNOWN_ERROR);
+    $ipprc->delete_destreak_backup_file($outputMask)
+        or &my_die("failed to delete existing destreak backup mask file", $exp_id, $chip_id, $class_id, $PS_EXIT_UNKNOWN_ERROR);
+    $ipprc->delete_destreak_backup_file($outputWeight)
+        or &my_die("failed to delete existing destreak backup weight file", $exp_id, $chip_id, $class_id, $PS_EXIT_UNKNOWN_ERROR);
 }
 
@@ -454,4 +462,5 @@
 }
 
+
 sub my_die
 {
