private void saveFile(HashSet<String> words, String name)
	{
		File file;
		FileWriter writer = null;
		
		file = new File(this.getDataFolder(), name);
		
		if(!file.exists())
		{
			try {
				file.createNewFile();
			} catch (IOException e) {
				logger.severe("[" + pdfdescription + "] Unable to create login config file!");
				logger.severe(e.getMessage());
			}
		}
		
		try{		
			writer = new FileWriter(file);
			
			for(String str: words)
			{
				writer.write(str + "\n");
			}
			
			writer.close();
			
		}catch (IOException e){
			logger.severe("[" + pdfdescription + "] Unable to create login config file!");
			logger.severe(e.getMessage());
		} finally {                      
			if (writer != null) try {
				writer.close();
			} catch (IOException e2) {}
		}
	}