Read keyfile form encrypt

Reads teh keyfile successfully but not sure how to convert to byte
array.