Implemented Read-Only file opening mode