while (it.hasNext()) {
filename = (String) it.next();
pubfile = SshPublicKeyFile.parse(loader.loadFile(filename));
username = filename.substring(0, filename.length() - 4);
keys.addKey(username, pubfile.toPublicKey());
}
return keys;
} catch (ParserConfigurationException ex) {
throw new IOException("Failed to read authorization file: " +