use `np.genfromtxt` to read the file - will handle many more cases automatically