public void moveFileFromJar(String jarFileName, String targetLocation, Boolean overwrite)
	{
		try
		{
		    File targetFile = new File(targetLocation);
	
		    if(overwrite || targetFile.exists() == false || targetFile.length() == 0)
		    {
			    InputStream inFile = getClass().getClassLoader().getResourceAsStream(jarFileName);
			    FileWriter outFile = new FileWriter(targetFile);

			    int c;
	
			    while ((c = inFile.read()) != -1)
			    {
			    	outFile.write(c);
			    }
			    
			    inFile.close();
				outFile.close();
		    }
		}
		catch(NullPointerException e)
		{
			getLogger().info("Failed to create " + jarFileName + ".");
		}
		catch(Exception e)
		{
			e.printStackTrace();
		}
	}