Added file input functions. need testing
Good stopping point, compiles and runs. Needs file output << overload.  input apears correct, not tested.