Index: trunk/MagicSoft/Mars/mfileio/MReadTree.h
===================================================================
--- trunk/MagicSoft/Mars/mfileio/MReadTree.h	(revision 4694)
+++ trunk/MagicSoft/Mars/mfileio/MReadTree.h	(revision 4698)
@@ -71,4 +71,5 @@
     virtual Int_t AddFile(const char *fname, Int_t entries=-1);
     virtual Int_t AddFiles(const MReadTree &read);
+    Int_t AddFiles(MDirIter &dir) { return MRead::AddFiles(dir); }
 
     Int_t PreProcess(MParList *pList);
Index: trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc
===================================================================
--- trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc	(revision 4694)
+++ trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc	(revision 4698)
@@ -775,4 +775,13 @@
 // --------------------------------------------------------------------------
 //
+// cd into file. See TFile::cd()
+//
+Bool_t MWriteRootFile::cd(const char *path)
+{
+    return fOut->cd(path);
+}
+
+// --------------------------------------------------------------------------
+//
 // Implementation of SavePrimitive. Used to write the call to a constructor
 // to a macro. In the original root implementation it is used to write
Index: trunk/MagicSoft/Mars/mfileio/MWriteRootFile.h
===================================================================
--- trunk/MagicSoft/Mars/mfileio/MWriteRootFile.h	(revision 4694)
+++ trunk/MagicSoft/Mars/mfileio/MWriteRootFile.h	(revision 4698)
@@ -128,4 +128,6 @@
     void Print(Option_t *t=NULL) const;
 
+    Bool_t cd(const char *path=0);
+
     ClassDef(MWriteRootFile, 1)	// Task to write data into a root file
 };
