private string GetFullFilePath(string filePath, string basePath) { if (Path.IsPathRooted(filePath)) { return filePath; } return Path.Combine(basePath, filePath); }