starting ideas for writing identity to file