public static string GetFilePathForDisplay(this File file) { return file == null ? string.Empty : string.Join("/", file.Id.Value.Value.ToString().Split('\\').Select(x => x.ToFileNameForDisplay())); }