use Path.GetFileName() instead of searching for backslash -- this is cross platform.