error fix in reading file data from disk.