Path fixing

@richard-green Is there a reason not to use Path.GetFileName(file) rather than file.Substring(from.length)?