fix file read in