public History() {
			fileHandle = new File(path);
			if(!fileHandle.exists()) {
				try {
					fileHandle.createNewFile();
				} catch (IOException e) {
					e.printStackTrace();
					System.exit(0);
				}
			}
			if(!fileHandle.canRead() || !fileHandle.canWrite()) {
				System.err.println("Can't read/write history.dat");
				System.exit(0);
			}
			try {
				fileInputStream = new FileInputStream(fileHandle);
			} catch (FileNotFoundException e) {
				e.printStackTrace();
				System.exit(0);
			}
			try {
				fileOutputStream = new FileOutputStream(fileHandle);
			} catch (FileNotFoundException e) {
				e.printStackTrace();
				System.exit(0);
			}
		}