Python file to read a set of data from file