clean up empty files if there are no results.