if (   ( ! new File(imageFileName).exists( )) && (! new File(ReportPlugin.getDefault( ).getResourceFolder( ),imageFileName).exists( )) )
if ( ( !new File( imageFileName ).exists( ) ) && ( !new File( ReportPlugin.getDefault( ) .getResourceFolder( ), imageFileName ).exists( ) ) && ( !new File( UIUtil.getFragmentDirectory( ), imageFileName ).exists( ) ) )
	public void checkStatus( )	{		String imageFileName = previewImageText.getText( ).trim( );		// Initialize a variable with the no error status		Status status = new Status( IStatus.OK, PLUGIN_ID, 0, PAGE_DESC, null );		nameStatus = status;		previewImageStatus = status;		if ( isTextEmpty( nameText ) )		{			status = new Status( IStatus.ERROR,					PLUGIN_ID,					0,					Messages.getString( "PublishTemplateAction.wizard.page.nameInfo" ),					null );			nameStatus = status;		}		else		// If preview image file is not empty, then need to check whether it		// exist or it's an iamge.		if ( !isTextEmpty( previewImageText ) )		{			if (   ( ! new File(imageFileName).exists( )) && (! new File(ReportPlugin.getDefault( ).getResourceFolder( ),imageFileName).exists( )) )			{				status = new Status( IStatus.ERROR,						PLUGIN_ID,						0,						Messages.getString( "PublishTemplateAction.wizard.message.PreviewImageNotExist" ),						null );				previewImageStatus = status;			}			else if ( !checkExtensions( imageFileName ) )			{				status = new Status( IStatus.ERROR,						PLUGIN_ID,						0,						Messages.getString( "PublishTemplateAction.wizard.message.PreviewImageNotValid" ),						null );				previewImageStatus = status;			}		}		// Show the most serious error		applyToStatusLine( findMostSevere( ) );		getWizard( ).getContainer( ).updateButtons( );	}