X interview question

How do you get a random line from a large file