Only open the key file each time.