private void ConvertToPdfs(IEnumerable <string> docs, string outputDir, string profile = null)
 {
     try
     {
         LibreOfficeUtils.ConvertFiles(docs, outputDir, profile);
     }
     catch (Exception e)
     {
         throw ExitCode.PdfBatchConversionFailed(outputDir, e).ToCommandException();
     }
 }