function reopenStandardStream input StandardStream _stream; input String filename; output Boolean success; end reopenStandardStream;