add empty file list check