Started to add key file read functionality into client.