Ignore .key files
Optparse now prints help by default
Added error checking for invalid keyfile