After you file

I had a bank account when I filed my taxes but I closed it. Will the irs be sending it in a check to the address they have? Or can I still wait to set up my direct deposit on the treasury website?