Changed parameter order in openStream