Taking full input from a file at once in C

,

Hello friends,
I want to know suppose i have made a test case file which looks somewhat like this

test

condition_1 condition_2
case_1
case_2
case_3
.
.
.
case_n

Then how to take all these input from a test file at once considering >>>***test and n is very large.***<<<
Can anyone please help me out to code this in C.