@Override
    public IImportReader createReader(ExportImportConfigParser config, IApimanLogger logger) {
        if (config.getJsonFile() == null)
            throw new IllegalArgumentException("Must provide path to JSON file to read");

        File inFile = new File(config.getJsonFile());

        if (!inFile.exists())
            throw new IllegalArgumentException("JSON file does not exist " + inFile);

        try {
            InputStream is = new FileInputStream(inFile);
            return new JsonImportReader(logger, is);
        } catch (IOException e){
            throw new RuntimeException(e);
        }

    }
@see io.apiman.manager.api.exportimport.json.IExportImportFactory#createReader(io.apiman.manager.api.exportimport.manager.ExportImportConfigParser, IApimanLogger)
manager/api/export-import/src/main/java/io/apiman/manager/api/exportimport/json/JsonFileExportImportFactory.java