Remove unnecessary log message
Update return value
Correct key file usage on OS X