write out txt file added