Read client configuration from file.