Write keys to file, read keys from file.