Deeper Insights interview question

Write a python program to parse a file.