got rid of key_filename