finished readfile