I don't believe "Common" is a class within the .NET framework. Is this a class that you have created through your own code?

Also, GetFileName is a method within the System.IO.Path class just like GetExtension is, so that is what I'd be using instead of whatever "Common" is.