public int read() throws IOException
  {
    boolean weiter = false ;
    int back = 0 ;

    while ( !weiter )
    {
      back = inStream.read() ;

      if (back > -1)
      {

        if ( back != '#') // no comment sign
        {
          if (comment)  // comment found in previous loop
          {
            if (back < 32)  // newline ?
            {
              comment = false ;
              weiter = true ;
            }
          }
          else  // no comment and valid sign
          {
            weiter = true ;
          }
        }
        else  // comment sign found
        {
          comment = true ;
          weiter = false ;
        }
      }
      else weiter = true ;  // end of stream
    }
//    System.out.print( (char) back ) ;
    return back ;
  }