test for get or create identity file