First, read up on TFSAs.
https://www.canada.ca/en/revenue-agency/services/forms-publications/publications/rc4466/tax-free-savings-account-tfsa-guide-individuals.html
UFile has nothing to do with it. You have to decide how much goes into a TFSA.
Right now the federal tax you are paying on the dividends is $21,119 * mt - $3172, where mt is your federal marginal tax rate. There is also provincial tax. If $80,000 of the $500,000 had been in a TFSA, that is 16% of your portfolio, federal and provincial taxes on the dividends would be 84% of what you are paying. Plus the taxable income would be lower perhaps increasing some income related credits.
Go talk to your advisor. Moving as much of your investment as you can into a TFSA is good advice. What it is invested in is up to you.