use a generator to generate the identity file