open file mode
public enum OpenMode
Opens for reading and appending. Creates the file first if it doesn't exist.
Opens file for reading. An exception is thrown if the file doesn't exist.
Opens an empty file for writing. If the given file exists, its contents are destroyed.