Exports the key to a file.
public func exportToFile(filename: String) throws -> Void
Use this method to save the Key (both the public and secret parts) to the file specified in Filename.