[io] open file in each thread