public static int Process(string basename, string inputfolder, string outputfolder)
        {
            //PdfReaderException.DisableWarnings();
            //PdfReaderException.ContinueOnException();

            var pipeline = new Execution.Pipeline();

            var result =
                pipeline.Input($"{inputfolder}/{basename}.pdf")
                //.Output($"{outputfolder}/{basename}-output.pdf")
                .AllPagesExcept <CreateTextLines>(new int[] { }, page =>
                                                  page.ParsePdf <ProcessPdfValidation>()
                                                  //.Show(Color.White)
                                                  .ParseBlock <IdentifyValidationMarks>()
                                                  .PdfCheck <CheckNoBlockSetOverlap>(Color.Orange)
                                                  //.Show(Color.Blue)
                                                  ).ToList();

            pipeline.SaveOk($"{outputfolder}/{basename}-ok.pdf");
            int errors = pipeline.SaveErrors($"{outputfolder}/errors/{basename}-errors.pdf");

            pipeline.Done();

            return(errors);
        }