} else if (in.getName().endsWith(".json") || in.getName().endsWith(".JSON")) {
try {
ExportSerializer export_manager = LooB.get().fromStock(ExportSerializer.class);
ReadableRoot readable = export_manager.toNode(in.toString());
String secret_key = readable.getKey();
if (secret_key == null || secret_key.length() == 0) {
throw new Exception("Invalid key in json file.");
}