Support multiple dist files and write in one result file