cross platform path separator check

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