fixed file readin