Mixpanel interview question

Write a program that does efficient file I/O