public static BufferedImage getImage(String fileName) {
		BufferedImage i = null;
		String path = "../images/";
		File f = null;
		try {
			f = new File(ResourceLoader.class.getResource(path + fileName)
					.getPath());
		} catch (NullPointerException e) {
			Console.log("file + " + fileName + " is not there", in.ERROR);
			e.printStackTrace();
		}

		if (f != null && f.exists() && !f.isDirectory()) {
			try {
				// TODO: Don't use bin directory
				i = ImageIO.read(r.getClass().getClassLoader()
						.getResource("images/" + fileName));
			} catch (Exception e) {
				Console.log("image= " + fileName + " is not located here",
						Console.in.ERROR);
				e.printStackTrace();
			}
		}
		return i;
	}