Blackstraw Interview Question

Given a big size file how to reduce the time in python file processing