Thanks oogabooga,
hey now lets say that I dont create the file "aplus.txt".
Is it the same procedure if I want to scan another file that already exists.

For example.
Lets say theres is a file "whatever.txt" and it has three lines


Line1 "X = 23"
Line2 "Y = 34"
Line3 "Z = 12"

How would I extract the numbers only to my program?Help please.