Add utility function of HTML file creation. Useful for local behat testing.