Added command line option -k to obtain the key from the specified file