'delete' method now delete also folder if empty