code: public byte[] getFileBytes(String filePath)
  		throws IOException {
  	    
  		byte[] out = null;
  		String path = (String) Utils.intern(filePath);
  		RandomAccessFile raf = null;
  		synchronized (path) {
  			File file = null;
  			try {
  				file = new File(path);
  				boolean exists = file.exists();
  				if (exists) {
  					byte[] fileBytes = new byte[(int)file.length()];
  					raf = new RandomAccessFile(file,"r");
  					raf.readFully(fileBytes);
  					out = fileBytes;
  				} else {
  				    String msg = 
  				        "File does not exist. (" + filePath + ")";
  					mLog.error(msg);
  					throw new IOException(msg);
  				}
  			} catch (IOException e) {
  				mLog.error("Error writing: " + filePath);
  				mLog.error(e);
  				throw e;
  			} finally {
  				if (raf != null) {
  					raf.close();
  				}
  			}
  		}
  		return out;
      }
docs: Read the contents of the file at the given path and return the associated
  byte array.
  
  @param filePath The path to the file to read
  
  @return The contents of the file
  
  @throws IOException if an error occurs reading the file