public static Properties getProperties() {
        Properties properties = new Properties();
        URL resource = Config.class.getResource("/bitcoin_secret.properties");
        File propertiesFile = new File("./src/main/resources/bitcoin_secret.properties");
        try {
            propertiesFile = new File(resource.toURI());
        } catch (URISyntaxException e) {
            LOG.info(e.toString());
            LOG.info("Using default source path.");
        }
        try {
            FileInputStream stream = new FileInputStream(propertiesFile);
            properties.load(stream);
        } catch (IOException ioe) {
            LOG.info(ioe.toString());
        }
        return properties;
    }