figuring out chat-file-name from an index file(JSONArray) fro given set
of users.