The Prolog atoms (read, write, append) accepted as the mode argument of open/3,4.
read
write
append
mode
open/3,4