code: private static InputStream getFileAsInputStream(String file) throws InitializationException {
  		if (file == null) {
  			throw new NullPointerException("File is null");
  		}
  		try {
  			return new FileInputStream(new File(file));
  		} catch (FileNotFoundException e) {
  			throw new InitializationException("File not found: " + file);
  		}
  	}
docs: Helper to open a usual File to get the content as {@link InputStream}
  
  @param file the name of the file
  @return an {@link InputStream} that points to the file
  @throws InitializationException