public static string ScrubPath(string filePath) { string newFilePath = ScrubFilePath(filePath); if (!newFilePath.EndsWith(@"/")) { newFilePath = String.Format("{0}/", newFilePath).Trim(); } return newFilePath; }