updated file read