Blocks function

Read and write Blocks data