Adds txt to the extension whitelist