replaced string manipulation with Path.Combine