Create formatted_thread.xml