FEATURE: support txt file to be uploaded for bulk invite

This PR adds support for 'txt' file to be uploaded for sending out bulk invitations. cc @coding-horror