changes in file reading and convergence