rv = nsTextAddress::IsLDIFFile( location, &isLDIF);
nsCOMPtr<nsIAbLDIFService> ldifService = do_GetService(NS_ABLDIFSERVICE_CONTRACTID, &rv);  if (NS_SUCCEEDED(rv)) rv = ldifService->IsLDIFFile(location, &isLDIF);
NS_IMETHODIMP ImportAddressImpl::GetNeedsFieldMap(nsIFileSpec *location, PRBool *_retval){  NS_ENSURE_ARG_POINTER(_retval);  NS_ENSURE_ARG_POINTER(location);	*_retval = PR_TRUE;	PRBool	exists = PR_FALSE;	PRBool	isFile = PR_FALSE;	nsresult rv = location->Exists( &exists);	rv = location->IsFile( &isFile);		if (!exists || !isFile)		return( NS_ERROR_FAILURE);	PRBool	isLDIF = PR_FALSE;	rv = nsTextAddress::IsLDIFFile( location, &isLDIF);	if (NS_FAILED( rv)) {		IMPORT_LOG0( "*** Error determining if file is of type LDIF\n");		return( rv);	}		if (isLDIF)		*_retval = PR_FALSE;		return( NS_OK);}