make thread & new file