public LogFile(String filename) throws IOException {
		File logfile = new File(filename);
		
		if (!logfile.exists()) {
			File directoryPath = logfile.getParentFile();
			if (directoryPath != null) {
				directoryPath.mkdirs();
			}
			logfile.createNewFile();
		}
		
		fileWriter = new FileWriter(logfile.getPath(),true);
	}