add a new methold to manerge the block of the file

Signed-off-by: Le Min <lemin9538@gmail.com>