Make filewriter a regular device
FileSink adds an extra level of complexity which is unnecessary. Making it a regular device simplifies the code and it also means file writing only starts when explicitly told to.
FileSink adds an extra level of complexity which is unnecessary. Making it a regular device simplifies the code and it also means file writing only starts when explicitly told to.