public TreeItem(ObjectDetails objectDetails)
            {
                Name = objectDetails.ObjectKey;

                _image = Properties.Resources.file;

                Tag = objectDetails;
            }
        /////////////////////////////////////////////////////////////////////////////////
        //
        //
        /////////////////////////////////////////////////////////////////////////////////
        string GenerateViewableHtmlArgs(ObjectDetails objDetails)
        {
            string viewerPath = System.IO.Path.Combine(
                AppDomain.CurrentDomain.BaseDirectory,
                "viewer.html");

            //copy everytime
            //if (!File.Exists(viewerPath))
            {
                using (FileStream fs = File.Open(viewerPath, FileMode.Create))
                {
                    using (StreamWriter sw = new StreamWriter(fs))
                    {
                        sw.Write(Properties.Resources.viewer);
                    }
                }
            }

            string token = _viewDataClient.TokenResponse.AccessToken;

            string urn = objDetails.FileId.ToBase64();

            return "file:///" + viewerPath +
               "?accessToken=" + HttpUtility.UrlEncode(token) +
               "&urn=" + HttpUtility.UrlEncode(urn);
        }