public GxFile(string baseDirectory, string fileName, GxFileType fileType = GxFileType.Public)
     : this(baseDirectory)
 {
     fileName = fileName.Trim();
     if ((GXServices.Instance != null && GXServices.Instance.Get(GXServices.STORAGE_SERVICE) != null) && !Path.IsPathRooted(fileName))
     {
         _file = new GxExternalFileInfo(fileName, ServiceFactory.GetExternalProvider(), fileType);
     }
     else
     {
         _file = new GxFileInfo(fileName, baseDirectory);
     }
 }
 public GxFile(string baseDirectory, IGxFileInfo file, GxFileType fileType = GxFileType.Public)
     : this(baseDirectory)
 {
     _file = file;
 }