Fix dirrmtry action in keyword being properly mapped to dirrmty function
Handle gracefully directories like files
Resurect a very old function that may find a new usage now