read file func(4) and the run time