minor change in readfile.R