converts to flat HTML files