Consider changing from 'lastb' to 'last -f file'