final Gson gson = new GsonBuilder()
.create();
final DocumentsConfiguration conf = gson.fromJson(new InputStreamReader(stream), DocumentsConfiguration.class);
final Compression compression = Compression.fromString(conf.compression);
LOGGER.info(String.format("Format is %s, compression is %s", conf.format, compression));
// Get the files
LOGGER.info("Reading the file list");
System.out.format("Document path: %s%n", conf.path);