Brighter Interview Question

write code to parse a text file