private static string GetShortDirectoryName(string directory) { string[] split = directory.Split('/'); return split[split.Length - 1]; }