public State(String fileName, boolean isEncrypt){
		this.state = new char[4][4];

		try {
			if (isEncrypt) {
				this.edFile = new File(fileName + ".enc");
			} else {
				this.edFile = new File(fileName + ".dec");
			}
			String name = this.edFile.getName();

			if (this.edFile.exists()) {
				this.edFile.delete();
				this.edFile.createNewFile();
				this.edFile = new File(name);
				// TODO: may need to create another file object
			}
		} catch (Exception e) {
			System.out.println("This is getting pretty annoying.");
		}

		try {
			this.edWriter = new FileWriter(this.edFile, true);
		} catch (Exception e) {
			System.out.println("Could not make and write to a new file for some reason.");
		}
	}