@Override
	public boolean export(String filename) {
		String[][] arr = new String[StackFileIO.NUM_ROWS][StackFileIO.NUM_COLS];
		List<DatabaseRow> rows = search(StackModule.getStarTableQuery());
		for (DatabaseRow row : rows) {
			StackRow dRow = (StackRow) row;
			int rowIndex = StackModule.getRowFromKey(dRow.getArrayIndex());
			int colIndex = StackModule.getColumnFromKey(dRow.getArrayIndex());
			arr[rowIndex][colIndex] = dRow.getParamValue();
		}
		List<List<String>> params = new ArrayList<List<String>>();
		for (int i=0;i<arr.length;i++) {
			List<String> temp = new ArrayList<String>();
			for (int j=0;j<arr[i].length;j++) {
				temp.add(arr[i][j]);
			}
			params.add(temp);
		}
		
		try {
			StackModule.stackFileIO.export(filename, params);
		} catch (IOException e) {
			ExceptionHandler.handle(e);
			return false;
		}
		return true;
	}