Added optional known hosts file support.