code: public static byte[] loadBytesFromFile(File file) {
  
  		byte[] bytes = null;
  		try {
  			bytes = Files.readAllBytes(Paths.get(file.getAbsolutePath()));
  		} catch (IOException e) {
  			e.printStackTrace();
  		}
  		return bytes;
  	}
docs: load from file
  
  @param file
  @return