call done for empty directories