Cognizant Interview Question

How would you load a Flat File with multiple Headers and Footers to a Table?