ErrnoException in case of error.File.open
void open(string name, scope const(char)[] stdioOpenmode = "rb") @trustedDetaches from the current file (throwing on failure), and then attempts to _open file name with mode stdioOpenmode. The mode has the same semantics as in the C standard library fopen function.