public static void writeListToFile(File filename, List<String> list) throws IOException{
		createFile(filename);
		BufferedWriter writer = new BufferedWriter(new FileWriter(filename, true));
		for(int i = 0; i < list.size(); i++){
			writer.write(list.get(i) + "\n");
		}
		writer.close();
	}