public byte[] readBinaryFromFile( String filename )
	{
		RandomAccessFile f = null;
		try { f =  new RandomAccessFile( new File( filename ),"r"); }
		catch (FileNotFoundException e1) { e1.printStackTrace(); }
		byte[] b = null;
		try { b = new byte[ (int) f.length() ]; } catch (IOException e) { e.printStackTrace(); }
		try { f.read(b); } catch (IOException e) { e.printStackTrace(); }
		try { f.close(); } catch (IOException e) { e.printStackTrace(); }
		return b;
	}