Hi Michal,
Can you tell us more about what you are trying to achieve with the html files? And which version of Kentico Xperience are you using?
If it's regarding viewing the mails after they have been send with the email marketing in Kentico Xperience, then this is possible using the macro: {% Email.ViewInBrowserUrl #%}
in the email template. This will automatically generate the URL to the preview of the mail on the live site.
Alternatively you could look into global event handlers but I doubt this is what you want to do.
Cheers,
Jeroen