code: public void setTunnelConnectionsFromFile( File tunnelsConfig ) throws IOException, JSchException {
          List<String> pathAndTunnels = new ArrayList<String>();
          BufferedReader reader = null;
          try {
              reader = new BufferedReader( new FileReader( tunnelsConfig ) );
              String line = null;
              while ( (line = reader.readLine()) != null ) {
                  if ( PATTERN_TUNNELS_CFG_COMMENT_LINE.matcher( line ).matches() ) {
                      continue;
                  }
                  pathAndTunnels.add( line );
              }
          }
          finally {
              if ( reader != null ) {
                  IOUtils.closeAndLogException( reader );
              }
          }
  
          setTunnelConnections( pathAndTunnels );
      }
docs: Creates a set of tunnel connections based upon the contents of
  <code>tunnelsConfig</code>. The format of this file is one path and
  tunnel per line. Comments and empty lines are allowed and are excluded
  using the pattern <code>^\s*(?:#.*)?$</code>.
  
  @param tunnelsConfig A file containing tunnel configuration
  @throws IOException
  If unable to read from <code>tunnelsConfig</code>
  @throws JSchException
  For connection failures