diff --git a/Database/FileStager/FileStager/TStageFileInfo.h b/Database/FileStager/FileStager/TStageFileInfo.h
index a0390616e05e0aae5271f53949d2aa8212778fb9..3155574820feac5be817d487f022d42724c3e0f1 100644
--- a/Database/FileStager/FileStager/TStageFileInfo.h
+++ b/Database/FileStager/FileStager/TStageFileInfo.h
@@ -20,7 +20,6 @@
 #include <string>
 #include <map>
 
-using namespace std ;
 
 class TStageFileInfo  : public TObject 
 {
@@ -33,14 +32,14 @@ class TStageFileInfo  : public TObject
   virtual ~TStageFileInfo() {};
 
   int  pid;
-  string inFile;
-  string outFile;
+  std::string inFile;
+  std::string outFile;
   Status status;
 #ifndef __CINT__
   struct stat64 statFile;
 #endif
-  string stout;
-  string sterr;
+  std::string stout;
+  std::string sterr;
 
  private:
 
diff --git a/Database/FileStager/FileStager/TStageManager.h b/Database/FileStager/FileStager/TStageManager.h
index 6134fdca28290c2f5f42a94609407b511e46ce8f..2febb36d13181250ecb51577c1853d36ca0a44ea 100644
--- a/Database/FileStager/FileStager/TStageManager.h
+++ b/Database/FileStager/FileStager/TStageManager.h
@@ -32,7 +32,6 @@
 #include <map>
 #include <algorithm>
 
-using namespace std ;
 
 class TStagerInfo;
 
@@ -49,7 +48,7 @@ class TStageManager : public TObject
   void releaseFile(const char* fname);
   void releaseAll();
   const char* getFile(const char* fname);
-  const string getTmpFilename(const char* filename);
+  const std::string getTmpFilename(const char* filename);
   TStageFileInfo::Status getStatusOf(const char* filename, bool update=true);
 
   void setBaseTmpdir(const char* baseTmpdir);
@@ -93,18 +92,18 @@ class TStageManager : public TObject
 
   void stageNext(bool forceStage=false);
   void updateStatus();
-  void trim(string& input);
-  void removePrefixOf(string& filename);
-  void removeFile(string filename);
-  void fixRootInPrefix(string& tmpname);
+  void trim(std::string& input);
+  void removePrefixOf(std::string& filename);
+  void removeFile(std::string filename);
+  void fixRootInPrefix(std::string& tmpname);
 
   void submitStageMonitor();
   bool _submittedStageMonitor;
 
   bool fileExists(const char* fileName);
 
-  list< string > _toBeStagedList;
-  map<string,TStageFileInfo> _stageMap;
+  std::list< std::string > _toBeStagedList;
+  std::map<std::string,TStageFileInfo> _stageMap;
 
   static TStagerInfo _stagerInfo;
 
diff --git a/Database/FileStager/FileStager/TStagerInfo.h b/Database/FileStager/FileStager/TStagerInfo.h
index c618c460f587a49d8b5514399085fd6c1faf0807..12ed5dfb2c1c14e3f972df451476a5de1411641a 100644
--- a/Database/FileStager/FileStager/TStagerInfo.h
+++ b/Database/FileStager/FileStager/TStagerInfo.h
@@ -26,7 +26,6 @@
 #include <vector>
 #include <map>
   
-using namespace std ;
   
 typedef char* pchar;
 
@@ -41,15 +40,15 @@ class TStagerInfo : public TObject
 
   int pipeLength;
   int pid;
-  string infilePrefix;
-  string outfilePrefix;
-  string logfileDir;
-  string baseTmpdir;
-  string tmpdir;
-  string cpcommand;
-  string stagemonitorcmd;
-  vector<string> cparg;
-  map<string,string> inPrefixMap;
+  std::string infilePrefix;
+  std::string outfilePrefix;
+  std::string logfileDir;
+  std::string baseTmpdir;
+  std::string tmpdir;
+  std::string cpcommand;
+  std::string stagemonitorcmd;
+  std::vector<std::string> cparg;
+  std::map<std::string,std::string> inPrefixMap;
  
  private:
 
diff --git a/Database/FileStager/Root/TCopyFile.cxx b/Database/FileStager/Root/TCopyFile.cxx
index ed0d10c8646a5c62f65ac90bf565141c33425d59..eb833b7fa7bc1040cda025aea0b1c2017798c42f 100644
--- a/Database/FileStager/Root/TCopyFile.cxx
+++ b/Database/FileStager/Root/TCopyFile.cxx
@@ -7,6 +7,8 @@
 //#include "TROOT.h"
 //#include "TEnv.h"
 
+using std::string;
+
 ClassImp(TCopyFile)
 
 bool TCopyFile::_originalTFile=true;
diff --git a/Database/FileStager/Root/TStageManager.cxx b/Database/FileStager/Root/TStageManager.cxx
index 0c01f1d8c9bf9e4cf0e988be8dc36bd206ff71f3..1d126ee6daf68d483d242e3e405a37fe827fb92f 100644
--- a/Database/FileStager/Root/TStageManager.cxx
+++ b/Database/FileStager/Root/TStageManager.cxx
@@ -8,6 +8,14 @@
 #include <assert.h>
 
 
+using std::string;
+using std::cout;
+using std::cerr;
+using std::endl;
+using std::list;
+using std::map;
+
+
 ClassImp(TStageManager)
 
 
diff --git a/Database/FileStager/Root/TStagerInfo.cxx b/Database/FileStager/Root/TStagerInfo.cxx
index 4e1cf7283836123093f8f4c251ae7932ee0bd534..65332ddf74d2d5dd6e52479797b26cce11272870 100644
--- a/Database/FileStager/Root/TStagerInfo.cxx
+++ b/Database/FileStager/Root/TStagerInfo.cxx
@@ -8,6 +8,11 @@
 ClassImp(TStagerInfo)
 
 
+using std::string;
+using std::cerr;
+using std::endl;
+
+
 TStagerInfo::TStagerInfo()
     : pipeLength(1)
     , pid(getpid())