automatically name a key by name in file