private string CreateFileWithContent(string connectionName, WebResource webresource)
        {
            var webResourceFileName = WebResourceRepository.GetWebResourceFileName(webresource);

            var contentWebResource = webresource.Content ?? string.Empty;

            if (!string.IsNullOrEmpty(contentWebResource))
            {
                var array = Convert.FromBase64String(contentWebResource);

                string localFileName = string.Format("{0}.{1}", connectionName, webResourceFileName);
                string filePath      = Path.Combine(_commonConfig.FolderForExport, FileOperations.RemoveWrongSymbols(localFileName));

                File.WriteAllBytes(filePath, array);

                return(filePath);
            }

            return(string.Empty);
        }