private static void ParseFiles(ITextExtractor textExtractor, IEnumerable<FileInfo> files)
        {
            var parsableFiles = files.Where(f => textExtractor.IsParseable(f.FullName)).ToArray();

            var timer = new Stopwatch();
            timer.Start();

            foreach (var fileInfo in parsableFiles)
            {
                Console.WriteLine("{0}{0}---------------------------------------", Environment.NewLine);
                Console.WriteLine("Parsing file: {0}{1}", fileInfo.Name, Environment.NewLine);

                var result = ParseFile(textExtractor, fileInfo.FullName);
                Console.WriteLine("Parsed result is: ");
                Console.Write(result);
            }

            timer.Stop();
            Console.WriteLine("{0}{0}Processed in {1}", Environment.NewLine, timer.Elapsed);
        }
        private static void ShowFileParsingInfo(ITextExtractor textExtractor, FileInfo[] files)
        {
            PrintFilesList("Found the following files:", files);

            var timer = new Stopwatch();
            timer.Start();
            var parsableFiles = files.Where(f => textExtractor.IsParseable(f.FullName)).ToArray();
            timer.Stop();
            Console.WriteLine("{0}{0}Processed in {1}{0}{0}", Environment.NewLine, timer.Elapsed);

            PrintFilesList("Parsable files:", parsableFiles);

            var unparsableFiles = files.Where(f => textExtractor.IsParseable(f.FullName) == false).ToArray();
            PrintFilesList("Unparsable files:", unparsableFiles);
        }