[major] fix file list builder