BF theory on cobordisms endowed with cellular decomposition