add assert for the file list