Index: trunk/cleanup.php
===================================================================
--- trunk/cleanup.php	(revision 17)
+++ trunk/cleanup.php	(revision 18)
@@ -413,4 +413,5 @@
          file_put_contents( "$output_dir/$fn", $xml );    // Copy to submit dir
 
+         $file_type = "jobstats";
       }
 
