change the Recdirective setDirectivetext function from protected to
public.
delete extra import which never used
when write romote file ,update local datetimestamp.