Moves the given file at the end of the stream processing and forwards any incoming data.