bug fix for loading file list