writing files now