Index: trunk/MagicSoft/Mars/msimreflector/MReflector.cc
===================================================================
--- trunk/MagicSoft/Mars/msimreflector/MReflector.cc	(revision 9260)
+++ trunk/MagicSoft/Mars/msimreflector/MReflector.cc	(revision 9262)
@@ -120,4 +120,6 @@
 Bool_t MReflector::ReadFile(TString fname)
 {
+    SetTitle(fname);
+
     gSystem->ExpandPathName(fname);
 
@@ -265,2 +267,18 @@
 }
 
+// --------------------------------------------------------------------------
+//
+// FileName: reflector.txt
+//
+Int_t MReflector::ReadEnv(const TEnv &env, TString prefix, Bool_t print)
+{
+    Bool_t rc = kFALSE;
+    if (IsEnvDefined(env, prefix, "FileName", print))
+    {
+        rc = kTRUE;
+        if (!ReadFile(GetEnvValue(env, prefix, "FileName", "")))
+            return kERROR;
+    }
+
+    return rc;
+}
Index: trunk/MagicSoft/Mars/msimreflector/MReflector.h
===================================================================
--- trunk/MagicSoft/Mars/msimreflector/MReflector.h	(revision 9260)
+++ trunk/MagicSoft/Mars/msimreflector/MReflector.h	(revision 9262)
@@ -28,4 +28,6 @@
     void InitMaxR();
 
+    Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
+
 public:
     MReflector(const char *name=NULL, const char *title=NULL);
