File designFile = new File( designName );
File designFile =new File( new File( designName ).getAbsolutePath());
	protected void checkTargetFileName ( )	{		String fileExt = '.' + format;		File designFile = new File( designName );		String designFileName = designFile.getName( );		int n = designFileName.lastIndexOf( '.' );		if ( n != -1 )		{			designFileName = designFileName.substring( 0, n );		}		if ( targetFile == null )		{			targetFile = designFile.getParent() + File.separatorChar + designFileName + fileExt;		}		else if ( !targetFile.toLowerCase().endsWith( fileExt ) ) 		{			targetFile = targetFile + File.separatorChar + designFileName + fileExt;		}	}