Update filewriter.c