#270: error handling in case keyfile is missing