Style: Indentation and a space after the ",".

And you should use Path.GetDirectoryName, instead of trying to manually parse paths.