deleting empty files; better progress bar