Must be give a file list or dir name