Explains read, write, append and update modes.