code: public InputStream getInputStream(String remotefile, long position)
  			throws SftpStatusException, SshException {
  		String remotePath = resolveRemotePath(remotefile);
  		sftp.getAttributes(remotePath);
  
  		return new SftpFileInputStream(sftp.openFile(remotePath,
  				SftpSubsystemChannel.OPEN_READ), position);
  
  	}
docs: Create an InputStream for reading a remote file.
  
  @param remotefile
  @param position
  @return InputStream
  @throws SftpStatusException
  @throws SshException