working on loading a file from text.
read from file compiles correctly.