public static List<String> GetAllFiles(String directory) { return Directory.GetFiles(directory, "*", SearchOption.AllDirectories).ToList(); }