correct f_in reading