Exports the key to a file.
public void exportToFile(String filename);
Use this method to save the Key (both the public and secret parts) to the file specified in Filename.