Change order of arguments in read() function

I think this way the use cases for positional arguments are more meaningful (see commit message).

I'm not 100% sure, though ...

Any comments?