working on reading file and overloaded operators