Fixed to read full data file instead of partial data file