void exportReportNamesTranslations(string path, StringBuilder translations, string separator, string extraSeparators, int len)
{
foreach (var fileName in Directory.GetFiles(path))
{
if (FileHelper.IsSealAttachedFile(fileName)) continue;
translations.AppendFormat("FileName{0}{1}{0}{2}{3}\r\n", separator, Helper.QuoteDouble(fileName.Substring(len)), Helper.QuoteDouble(Path.GetFileNameWithoutExtension(fileName)), extraSeparators);
}
foreach (string subdir in Directory.GetDirectories(path))
{
exportReportNamesTranslations(subdir, translations, separator, extraSeparators, len);
}
}