anchor.diff:        CALL ReadCom( UnIn, FileName, 'HydroDyn Driver input file header line 1', ErrStat, ErrMsg, UnEchoLocal )
      
         IF ( ErrStat /= ErrID_None ) THEN
  -         ErrMsg  = ' Failed to read HydroDyn Driver input file header line 1.'
            ErrStat = ErrID_Fatal
            CALL CleanupEchoFile( InitInp%Echo, UnEchoLocal )
            CLOSE( UnIn )
  
positive.code:       
           ! Open the WAMIT inputs data file
        CALL GetNewUnit( UnWAMITInp ) 
        CALL OpenFInpFile ( UnWAMITInp, drvrInitInp%WAMITInputsFile, ErrStat   )  ! Open WAMIT inputs file.
        
        IF ( ErrStat /= 0 ) THEN
           ErrMsg = '  WAMIT Input time-series file not found'
           CALL WrScr( ErrMsg )
           STOP
        END IF
  
negative.code:    END IF
  
        !> WaveElevSeriesFlag   -- are we doing multipoint wave elevation output?
     CALL ReadVar ( UnIn, FileName, InitInp%WaveElevSeriesFlag, 'WaveElevSeriesFlag', 'WaveElevSeriesFlag', ErrStat, ErrMsg )
     IF ( ErrStat /= ErrID_None ) THEN
        ErrStat = ErrID_Fatal
        CLOSE( UnIn )
        RETURN
  