I have done site Migration before of sites, is there a way to migrate files too? for example XXX.html to production?
No. Tableau doesn't support users modifying "our" HTML files, so there are no migration paths for them since we assume they are always the same across systems. If you modify Tableau's base files, it is up to you to manage them.
Retrieving data ...