filewriter mostly done