public static string GetRootDirectory() { if(UserPath!=null && UserPath.Length>0) return UserPath; else return Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); } public static string GetJournalFileName()