Added check to verify that key files only contain a single key
Fixed bug where it would only create one keychain