Added functions to load public and private keys from file