Function db_delete_dir() works too