updated readfile again