Generate HTML if a file doesn't exist