private RenderableObject generateObject(String next, Scanner inFile) {
		RenderableObject ro = null;
		switch (next) {
		case "Ellipse":
			ro = generateElipse(inFile);
			break;
		case "Rectangle":
			ro = generateRectangle(inFile);
			break;
		case "Text":
			ro = generateText(inFile);
			break;
		case "Shape":
			ro = generateShape(inFile);
			break;
		case "Image":
			ro = generateImage(inFile);
			break;
		case "Latex":
			ro = generateLatex(inFile);
			break;
		default:
			System.out.println("Error In File");
			System.exit(1);
		}

		return ro;
	}