init file_list in thread