def parse_file(datafile):
workbook = xlrd.open_workbook(datafile)
sheet = workbook.sheet_by_index(0)
data = [
[sheet.cell_value(r, col)
for col in range(sheet.ncols)]
for r in range(sheet.nrows)
]
for row in range(sheet.nrows):
for col in range(sheet.ncols):
if row == 50:
print("\nRow 50:\n")
print(sheet.cell_value(row, col))
return data