public boolean loadImage() {
	       try {
	           img = ImageIO.read(new File(filename));
	       } 
	       catch (IOException e) {
	    	   img = null;
	    	   return false;
	       }
	       return true;

	}