Cognizant Interview Question

explain how pointers are useful when we are working with files?