*outOpen = (mFileDesc != nsnull);
*outOpen = (mFileDesc != nsnull && !mFailed);
NS_IMETHODIMP FileImpl::GetIsOpen(PRBool* outOpen)//----------------------------------------------------------------------------------------{    *outOpen = (mFileDesc != nsnull);    return NS_OK;}