public static TwitterModel readConf(String confFilename)
			throws JsonParseException, JsonMappingException, IOException {

		ObjectMapper mapper = new ObjectMapper();
		JsonNode rootNode = mapper.readValue(new File(confFilename), JsonNode.class);

		TwitterModel twitterModel = new TwitterModel();
		twitterModel.setAccessToken(rootNode.get("access_token")
				.getTextValue());
		twitterModel.setAccessToken_secret(rootNode.get(
				"access_token_secret").getTextValue());
		twitterModel.setConsumerKey(rootNode.get("consumer_key")
				.getTextValue());
		twitterModel.setConsumerSecret(rootNode.get("consumer_secret")
				.getTextValue());

		return twitterModel;
	}