public SimpleFileWriter(String filename, boolean append)
	{
		file = new File(filename).getAbsoluteFile();

		if(!file.getParentFile().exists())
		{
			file.getParentFile().mkdirs();
		}
		
		try
		{
			file.createNewFile();
		} catch(IOException e)
		{
			System.err.println(filename);
			e.printStackTrace();
			System.exit(0);
		}
		
		this.append = append;
		openFile();
	}