Implement read API key and IP from file