docs: public Document read() {
          try {
              do {
                  if (stream == null) {
                      // Open the stream to the next file ...
                      stream = openNextFile();
                      if (stream == null) {
                          // No more files to read ...
                          return null;
                      }
                      documents = Json.readMultiple(stream, false);
                  }
                  try {
                      Document doc = documents.nextDocument();
                      if (doc != null) return doc;
                  } catch (IOException e) {
                      // We'll just continue ...
                  }
                  // Close the stream and try opening the next stream ...
                  close(stream);
                  stream = null;
              } while (true);
          } catch (IOException e) {
              problems.addError(JcrI18n.problemsWritingDocumentToBackup, currentFile.getAbsolutePath(), e.getMessage());
              return null;
          }
      }