public static ResourceFile createNewScript(GhidraScriptProvider provider,
			ResourceFile parentDirectory, List<ResourceFile> scriptDirectories) throws IOException {
		String baseName = GhidraScriptConstants.DEFAULT_SCRIPT_NAME;
		String extension = provider.getExtension();
		return createNewScript(baseName, extension, parentDirectory, scriptDirectories);
	}
Creates a new script with a unique name using the specified provider in the 
specified directory.
@param provider   the Ghidra script provider
@param parentDirectory  the directory where the new script will be created.
@param scriptDirectories The list of directories containing scripts (used to find a 
       unique name).
@return the newly created script file
@throws IOException if an i/o error occurs
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScriptUtil.java