Add encoding to read data file