avoid dealing with signals in sink

instead expose functionality to reset file stream to be used by client