Build txt and html formats