protected void DownloadFile(string path, string filePath)
        {
            string savePath = GetSavePath();

            // Create the save path if necessary
            if (!System.IO.Directory.Exists(savePath))
            {
                System.IO.Directory.CreateDirectory(savePath);
            }

            if (File.Exists(filePath))
            {
                OnDownload(true, "Already downloaded");
            }
            else
            {
                var client = new RawDataDownloadClient();
                client.DownloadFileAsync(path, filePath, OnDownload);
            }
        }
        protected void DownloadFile(string path, string filePath)
        {
            string savePath = GetSavePath();

            // Create the save path if necessary
            if (!System.IO.Directory.Exists(savePath))
            {
                System.IO.Directory.CreateDirectory(savePath);
            }

            if (File.Exists(filePath))
            {
                OnDownload(true, "Already downloaded");
            }
            else
            {
                var client = new RawDataDownloadClient();
                client.DownloadFileAsync(path, filePath, OnDownload);
            }
        }