in reply to select line from file

A) Your grammar is atrocious.
B) Use open to open the file, <> to read lines from the file and split to seperate the parts.