static string ResolvePath(string filePath) { if (Path.IsPathRooted(filePath)) return filePath; return Path.GetFullPath(filePath); } }