A charactervector.
If "read", a file is considered to be open if there exist an
open connection that can read from that file.
If "write", a file is considered to be open if there exist an
open connection that can write to that file.
Both these values may be specified.