public void putSaveData(CellState[][] cdata){
		FileOutputStream fos = null;
		ByteArrayInputStream bis = null;
		try{
			byte[] buffer = new byte[2048];
			String[] data = statesToBits(cdata);
			fos = new FileOutputStream(save);
			for(String s: data){
				bis = new ByteArrayInputStream(s.getBytes());
				for(int c = bis.read(buffer); c > 0; c = bis.read(buffer))
					fos.write(buffer, 0, c);
				
				bis.close();
			}
		}catch(IOException e){
			Console.exception(e);
		}finally{
			try{
				if(fos != null){
					fos.close();
				}
				if(bis != null){
					bis.close();
				}
			}catch(IOException e){
				
			}
		}
	}