Read data from file