cleaner separation of implementations between the software and the lib:
update save_and_load_private_key_file example