add rmDir but not test yet
'