public File saveSecret(String filename) throws IOException
    {
        return secretConfig().save(filename);
    }
@Test
    public void testSaveSecretFile() throws IOException
    {
        ZCert cert = new ZCert();
        cert.saveSecret(CERT_LOCATION + "/test_secret.cert");
        File file = new File(CERT_LOCATION + "/test_secret.cert");
        assertThat(file.exists(), is(true));
    }