Added class to open file and add 3 objects