Convert class now initializes an object with the contents of the txt file