fixing console data file reader