added function to iterate through all files and folder in root,  and to delete or retrieve a list of those, added more callbacks
added tests (1 failing)
resolved compiler warnings