Changed name to key_mem internally.
Changed name of file to key_mem to reflect what it is.