URL url = Platform.find( Platform.getBundle( ReportPlugin.REPORT_UI ), new Path( TEMPLATE_FILE ) ); if ( url != null )
URL url = FileLocator.find( Platform.getBundle( IResourceLocator.FRAGMENT_RESOURCE_HOST ), new Path( TEMPLATE_FILE ), null );  final String templateFileName; try
	public boolean performFinish( )	{		final IPath locPath = newReportFileWizardPage.getFileLocationFullPath( );		String fn = newReportFileWizardPage.getFileName( );		final String fileName;		if ( !fn.endsWith( NEW_REPORT_FILE_EXTENSION ) ) //$NON-NLS-1$		{			fileName = fn + NEW_REPORT_FILE_EXTENSION; //$NON-NLS-1$		}		else		{			fileName = fn;		}		InputStream inputData = null;		URL url = Platform.find( Platform.getBundle( ReportPlugin.REPORT_UI ),				new Path( TEMPLATE_FILE ) );		if ( url != null )		{			try			{				inputData = url.openStream( );			}			catch ( IOException e1 )			{				// ignore.			}		}		final InputStream stream = inputData;		IRunnableWithProgress op = new IRunnableWithProgress( ) {			public void run( IProgressMonitor monitor )			{				try				{					doFinish( locPath, fileName, stream, monitor );				}				finally				{					monitor.done( );				}			}		};		try		{			getContainer( ).run( true, false, op );		}		catch ( InterruptedException e )		{			return false;		}		catch ( InvocationTargetException e )		{			Throwable realException = e.getTargetException( );			ExceptionHandler.handle( realException );			return false;		}		return true;	}