each_line -> each in remove_blocks