Add file with identities of size up to 6 and read identities from this file