private static string FindFile(string path) { if (ScriptHelper.IsDebuggingEnabled) { string debugFileName = GetDebugPath(path); return debugFileName; } return path; }