Added a towrite file