public static void read(String path, Level lvl) {
		
		try {
			//loading background.png
			byte[] data = ZipReader.load(path,"background.png");
            lvl.setBackground(ImageIO.read(new ByteArrayInputStream(data)));
			} catch (Exception e) {
			System.out.println("file not found : background");
		}

		try {
			//loading foreground.png
			byte[] data = ZipReader.load(path,"foreground.png");
            lvl.setForeground(ImageIO.read(new ByteArrayInputStream(data)));
			} catch (Exception e) {
			System.out.println("file not found : foreground");
		}
		

			//loading elements.txt
			String text = ZipReader.loadText(path,"elements.txt");
            lvl.loadTextFile(text);
			
		
		try {
			//loading cache.png
			byte[] data = ZipReader.load(path,"cache.png");
            lvl.setCache(ImageIO.read(new ByteArrayInputStream(data)));
			} catch (Exception e) {
			System.out.println("file not found : cache");
		}
		
	}