private static void Process(string localPath)
        {
            var allMessages = new List<Message>();

            foreach (var file in Directory.GetFiles(localPath))
            {
                var content = File.ReadAllText(file);
                allMessages.AddRange(JsonConvert.DeserializeObject<IEnumerable<Message>>(content));
            }

            var writer = new MapInputFileWriter();
            writer.Write(allMessages);
        }
        private static void Process(string localPath)
        {
            var allMessages = new List <Message>();

            foreach (var file in Directory.GetFiles(localPath))
            {
                var content = File.ReadAllText(file);
                allMessages.AddRange(JsonConvert.DeserializeObject <IEnumerable <Message> >(content));
            }

            var writer = new MapInputFileWriter();

            writer.Write(allMessages);
        }