private static DataStoreCollection LoadLastWrittenXmlDataStoreCollection()
        {
            System.Diagnostics.Debug.Write("[START]" + "LoadLastWrittenXmlDataStoreCollection");
            System.Diagnostics.Trace.Write("[START]" + "LoadLastWrittenXmlDataStoreCollection");
            System.Console.WriteLine("[START]" + "LoadLastWrittenXmlDataStoreCollection");
            System.IO.FileInfo fi = Global.GetLastWrittenXmlFileInfo( );
            if (fi == null)
            {
                return(null);
            }
            // The session creation must be before the object creation!!!
            string tffpn = CreateSession2TmpFs( );

            System.Diagnostics.Debug.Write("[START]" + fi.FullName);
            System.Diagnostics.Trace.Write("[START]" + fi.FullName);
            System.Console.WriteLine("[START]" + fi.FullName);
            DataStoreCollection dsColl = DataStoreCollection.LoadXML(fi.FullName);

            System.Console.WriteLine("[  END]" + fi.FullName);
            System.Diagnostics.Debug.Write("[  END]" + fi.FullName);
            System.Diagnostics.Trace.Write("[  END]" + fi.FullName);
            dsColl.ID = 0;
            dsColl.OrigFileFullPathName = fi.FullName;
            dsColl.TempFileFullPathName = tffpn;
            //SaveDataStoreCollection( dsColl );
            //
            return(dsColl);
        }