docs: private void processDumpFileContentsRecovery(InputStream inputStream)
  			throws IOException {
  		JsonDumpFileProcessor.logger
  				.warn("Entering recovery mode to parse rest of file. This might be slightly slower.");
  
  		BufferedReader br = new BufferedReader(new InputStreamReader(
  				inputStream));
  
  		String line = br.readLine();
  		if (line == null) { // can happen if iterator already has consumed all
  							// the stream
  			return;
  		}
  		if (line.length() >= 100) {
  			line = line.substring(0, 100) + "[...]"
  					+ line.substring(line.length() - 50);
  		}
  		JsonDumpFileProcessor.logger.warn("Skipping rest of current line: "
  				+ line);
  
  		line = br.readLine();
  		while (line != null && line.length() > 1) {
  			try {
  				EntityDocument document;
  				if (line.charAt(line.length() - 1) == ',') {
  					document = documentReader.readValue(line.substring(0,
  							line.length() - 1));
  				} else {
  					document = documentReader.readValue(line);
  				}
  				handleDocument(document);
  			} catch (JsonProcessingException e) {
  				logJsonProcessingException(e);
  				JsonDumpFileProcessor.logger.error("Problematic line was: "
  						+ line.substring(0, Math.min(50, line.length()))
  						+ "...");
  			}
  
  			line = br.readLine();
  		}
  	}