File opening in various modes

Programs