public void open(File file)
	{
		if (file == null)
		{
			System.out.printf("File is empty!\n");
			return;
		}

		this.fileName = file;

		try
		{
			fw = new FileWriter(file);
		}
		catch (IOException e)
		{
			System.out.printf("Cannot access file %s!\n", file);
		}

		if (fw != null)
		{
			bw = new BufferedWriter(fw);
		}
	}