Index: trunk/FACT++/src/smartfact.cc
===================================================================
--- trunk/FACT++/src/smartfact.cc	(revision 13891)
+++ trunk/FACT++/src/smartfact.cc	(revision 13892)
@@ -22,4 +22,6 @@
 #include "HeadersBIAS.h"
 #include "HeadersFTM.h"
+
+#include <boost/filesystem.hpp>
 
 using namespace std;
@@ -534,5 +536,11 @@
             ctrl.Handler(d);
 
-            const string msg = ctrl.shortmsg+"<br>"+ctrl.file;
+#if BOOST_VERSION < 104600
+            const string file = boost::filesystem::path(ctrl.file).filename();
+#else
+            const string file = boost::filesystem::path(ctrl.file).filename().string();
+#endif
+
+            const string msg = ctrl.shortmsg+"<br>"+file;
             HandleControlMessageImp(Event(d, msg.data(), msg.length()+1));
         }
