Index: trunk/MagicSoft/Mars/mfileio/MReadFiles.cc
===================================================================
--- trunk/MagicSoft/Mars/mfileio/MReadFiles.cc	(revision 9030)
+++ trunk/MagicSoft/Mars/mfileio/MReadFiles.cc	(revision 9031)
@@ -119,8 +119,11 @@
 // This opens the next file in the list and deletes its name from the list.
 //
-Bool_t MReadFiles::OpenNextFile()
+Bool_t MReadFiles::OpenNextFile(Int_t num)
 {
     // First close an open file, if any
     Close();
+
+    if (num>=0)
+        fNumFile=num;
 
     // Check for the existence of a next file to read
@@ -199,4 +202,10 @@
 }
 
+Int_t MReadFiles::PostProcess()
+{
+    Close();
+    return kTRUE;
+}
+
 
 // --------------------------------------------------------------------------
