code: private void validateRootFolder() {
          File rootDir = new File(m_config.root);
          if (!rootDir.exists()) {
              logErrorThrow("Root directory does not exist: {}", m_config.root);
          } else if (!rootDir.isDirectory()) {
              logErrorThrow("Root directory must be a folder: {}", m_config.root);
          } else if (!m_config.root.endsWith(File.separator)) {
              m_config.root = m_config.root + File.separator;
          }
      }
docs: Root directory must exist and be a folder