merge unit from unit directory to character in sample