these will be the steps.
1. open the file.
2. read each line using the read command. after you read them, keep them in individual variables. you need to do this in a while loop till the end of file.
.
close the file.
You will get the syntax in a sqr guide. sqr guide is available in peoplebooks.