added export key to file