reading data blocks from a file in python,line = f.readline()